X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fnamecache%2Fnamecache.h;h=fa7c75c11968c0366fdca0635ee14c822213d118;hb=04b6df21cd281e8cd540139f8d9ae85defc1961c;hp=1c9fe6b9580173912db5076371fbcc2e3a5c945e;hpb=31adcb0e020b7861ee7f306a6e2fac0df9b10290;p=oweals%2Fgnunet.git diff --git a/src/namecache/namecache.h b/src/namecache/namecache.h index 1c9fe6b95..fa7c75c11 100644 --- a/src/namecache/namecache.h +++ b/src/namecache/namecache.h @@ -11,12 +11,12 @@ 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 . SPDX-License-Identifier: AGPL3.0-or-later -*/ + */ /** * @file namecache/namecache.h @@ -37,8 +37,7 @@ GNUNET_NETWORK_STRUCT_BEGIN /** * 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 @@ -55,8 +54,7 @@ struct GNUNET_NAMECACHE_Header /** * Lookup a block in the namecache */ -struct LookupBlockMessage -{ +struct LookupBlockMessage { /** * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK */ @@ -66,15 +64,13 @@ struct LookupBlockMessage * The query. */ struct GNUNET_HashCode query GNUNET_PACKED; - }; /** * Lookup response */ -struct LookupBlockResponseMessage -{ +struct LookupBlockResponseMessage { /** * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK_RESPONSE */ @@ -102,8 +98,7 @@ struct LookupBlockResponseMessage /** * Cache a record in the namecache. */ -struct BlockCacheMessage -{ +struct BlockCacheMessage { /** * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE */ @@ -131,8 +126,7 @@ struct BlockCacheMessage /** * Response to a request to cache a block. */ -struct BlockCacheResponseMessage -{ +struct BlockCacheResponseMessage { /** * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE_RESPONSE */