summaryrefslogtreecommitdiff
path: root/src/namecache/namecache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/namecache/namecache.h')
-rw-r--r--src/namecache/namecache.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/namecache/namecache.h b/src/namecache/namecache.h
index fa7c75c11..1657662c2 100644
--- a/src/namecache/namecache.h
+++ b/src/namecache/namecache.h
@@ -37,7 +37,8 @@ GNUNET_NETWORK_STRUCT_BEGIN
37/** 37/**
38 * Generic namecache message with op id 38 * Generic namecache message with op id
39 */ 39 */
40struct GNUNET_NAMECACHE_Header { 40struct GNUNET_NAMECACHE_Header
41{
41 /** 42 /**
42 * header.type will be GNUNET_MESSAGE_TYPE_NAMECACHE_* 43 * header.type will be GNUNET_MESSAGE_TYPE_NAMECACHE_*
43 * header.size will be message size 44 * header.size will be message size
@@ -54,7 +55,8 @@ struct GNUNET_NAMECACHE_Header {
54/** 55/**
55 * Lookup a block in the namecache 56 * Lookup a block in the namecache
56 */ 57 */
57struct LookupBlockMessage { 58struct LookupBlockMessage
59{
58 /** 60 /**
59 * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK 61 * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK
60 */ 62 */
@@ -70,7 +72,8 @@ struct LookupBlockMessage {
70/** 72/**
71 * Lookup response 73 * Lookup response
72 */ 74 */
73struct LookupBlockResponseMessage { 75struct LookupBlockResponseMessage
76{
74 /** 77 /**
75 * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK_RESPONSE 78 * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_LOOKUP_BLOCK_RESPONSE
76 */ 79 */
@@ -98,7 +101,8 @@ struct LookupBlockResponseMessage {
98/** 101/**
99 * Cache a record in the namecache. 102 * Cache a record in the namecache.
100 */ 103 */
101struct BlockCacheMessage { 104struct BlockCacheMessage
105{
102 /** 106 /**
103 * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE 107 * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE
104 */ 108 */
@@ -126,7 +130,8 @@ struct BlockCacheMessage {
126/** 130/**
127 * Response to a request to cache a block. 131 * Response to a request to cache a block.
128 */ 132 */
129struct BlockCacheResponseMessage { 133struct BlockCacheResponseMessage
134{
130 /** 135 /**
131 * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE_RESPONSE 136 * Type will be #GNUNET_MESSAGE_TYPE_NAMECACHE_BLOCK_CACHE_RESPONSE
132 */ 137 */