diff options
Diffstat (limited to 'src/namecache/namecache.h')
-rw-r--r-- | src/namecache/namecache.h | 20 |
1 files changed, 7 insertions, 13 deletions
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 @@ | |||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Affero General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Affero General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file namecache/namecache.h | 22 | * @file namecache/namecache.h |
@@ -37,8 +37,7 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
37 | /** | 37 | /** |
38 | * Generic namecache message with op id | 38 | * Generic namecache message with op id |
39 | */ | 39 | */ |
40 | struct GNUNET_NAMECACHE_Header | 40 | struct GNUNET_NAMECACHE_Header { |
41 | { | ||
42 | /** | 41 | /** |
43 | * header.type will be GNUNET_MESSAGE_TYPE_NAMECACHE_* | 42 | * header.type will be GNUNET_MESSAGE_TYPE_NAMECACHE_* |
44 | * header.size will be message size | 43 | * header.size will be message size |
@@ -55,8 +54,7 @@ struct GNUNET_NAMECACHE_Header | |||
55 | /** | 54 | /** |
56 | * Lookup a block in the namecache | 55 | * Lookup a block in the namecache |
57 | */ | 56 | */ |
58 | struct LookupBlockMessage | 57 | struct LookupBlockMessage { |
59 | { | ||
60 | /** | 58 | /** |
61 | * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK | 59 | * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK |
62 | */ | 60 | */ |
@@ -66,15 +64,13 @@ struct LookupBlockMessage | |||
66 | * The query. | 64 | * The query. |
67 | */ | 65 | */ |
68 | struct GNUNET_HashCode query GNUNET_PACKED; | 66 | struct GNUNET_HashCode query GNUNET_PACKED; |
69 | |||
70 | }; | 67 | }; |
71 | 68 | ||
72 | 69 | ||
73 | /** | 70 | /** |
74 | * Lookup response | 71 | * Lookup response |
75 | */ | 72 | */ |
76 | struct LookupBlockResponseMessage | 73 | struct LookupBlockResponseMessage { |
77 | { | ||
78 | /** | 74 | /** |
79 | * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK_RESPONSE | 75 | * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK_RESPONSE |
80 | */ | 76 | */ |
@@ -102,8 +98,7 @@ struct LookupBlockResponseMessage | |||
102 | /** | 98 | /** |
103 | * Cache a record in the namecache. | 99 | * Cache a record in the namecache. |
104 | */ | 100 | */ |
105 | struct BlockCacheMessage | 101 | struct BlockCacheMessage { |
106 | { | ||
107 | /** | 102 | /** |
108 | * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE | 103 | * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE |
109 | */ | 104 | */ |
@@ -131,8 +126,7 @@ struct BlockCacheMessage | |||
131 | /** | 126 | /** |
132 | * Response to a request to cache a block. | 127 | * Response to a request to cache a block. |
133 | */ | 128 | */ |
134 | struct BlockCacheResponseMessage | 129 | struct BlockCacheResponseMessage { |
135 | { | ||
136 | /** | 130 | /** |
137 | * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE_RESPONSE | 131 | * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE_RESPONSE |
138 | */ | 132 | */ |