WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: AGPL3.0-or-later
-*/
+ */
/**
* @file namecache/namecache.h
/**
* Generic namecache message with op id
*/
-struct GNUNET_NAMECACHE_Header
-{
+struct GNUNET_NAMECACHE_Header {
/**
* header.type will be GNUNET_MESSAGE_TYPE_NAMECACHE_*
* header.size will be message size
/**
* Lookup a block in the namecache
*/
-struct LookupBlockMessage
-{
+struct LookupBlockMessage {
/**
* Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK
*/
* The query.
*/
struct GNUNET_HashCode query GNUNET_PACKED;
-
};
/**
* Lookup response
*/
-struct LookupBlockResponseMessage
-{
+struct LookupBlockResponseMessage {
/**
* Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK_RESPONSE
*/
/**
* Cache a record in the namecache.
*/
-struct BlockCacheMessage
-{
+struct BlockCacheMessage {
/**
* Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE
*/
/**
* Response to a request to cache a block.
*/
-struct BlockCacheResponseMessage
-{
+struct BlockCacheResponseMessage {
/**
* Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE_RESPONSE
*/