diff options
Diffstat (limited to 'src/dht/dht.h')
-rw-r--r-- | src/dht/dht.h | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h index 3d5fc0963..052a60b99 100644 --- a/src/dht/dht.h +++ b/src/dht/dht.h | |||
@@ -40,7 +40,8 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
40 | * Message which indicates the DHT should cancel outstanding | 40 | * Message which indicates the DHT should cancel outstanding |
41 | * requests and discard any state. | 41 | * requests and discard any state. |
42 | */ | 42 | */ |
43 | struct GNUNET_DHT_ClientGetStopMessage { | 43 | struct GNUNET_DHT_ClientGetStopMessage |
44 | { | ||
44 | /** | 45 | /** |
45 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_GET_STOP | 46 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_GET_STOP |
46 | */ | 47 | */ |
@@ -67,7 +68,8 @@ struct GNUNET_DHT_ClientGetStopMessage { | |||
67 | * DHT GET message sent from clients to service. Indicates that a GET | 68 | * DHT GET message sent from clients to service. Indicates that a GET |
68 | * request should be issued. | 69 | * request should be issued. |
69 | */ | 70 | */ |
70 | struct GNUNET_DHT_ClientGetMessage { | 71 | struct GNUNET_DHT_ClientGetMessage |
72 | { | ||
71 | /** | 73 | /** |
72 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_GET | 74 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_GET |
73 | */ | 75 | */ |
@@ -108,7 +110,8 @@ struct GNUNET_DHT_ClientGetMessage { | |||
108 | * DHT GET RESULTS KNOWN message sent from clients to service. Indicates that a GET | 110 | * DHT GET RESULTS KNOWN message sent from clients to service. Indicates that a GET |
109 | * request should exclude certain results which are already known. | 111 | * request should exclude certain results which are already known. |
110 | */ | 112 | */ |
111 | struct GNUNET_DHT_ClientGetResultSeenMessage { | 113 | struct GNUNET_DHT_ClientGetResultSeenMessage |
114 | { | ||
112 | /** | 115 | /** |
113 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_GET_RESULTS_KNOWN | 116 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_GET_RESULTS_KNOWN |
114 | */ | 117 | */ |
@@ -138,7 +141,8 @@ struct GNUNET_DHT_ClientGetResultSeenMessage { | |||
138 | /** | 141 | /** |
139 | * Reply to a GET send from the service to a client. | 142 | * Reply to a GET send from the service to a client. |
140 | */ | 143 | */ |
141 | struct GNUNET_DHT_ClientResultMessage { | 144 | struct GNUNET_DHT_ClientResultMessage |
145 | { | ||
142 | /** | 146 | /** |
143 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_RESULT | 147 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_RESULT |
144 | */ | 148 | */ |
@@ -183,7 +187,8 @@ struct GNUNET_DHT_ClientResultMessage { | |||
183 | /** | 187 | /** |
184 | * Message to insert data into the DHT, sent from clients to DHT service. | 188 | * Message to insert data into the DHT, sent from clients to DHT service. |
185 | */ | 189 | */ |
186 | struct GNUNET_DHT_ClientPutMessage { | 190 | struct GNUNET_DHT_ClientPutMessage |
191 | { | ||
187 | /** | 192 | /** |
188 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_PUT | 193 | * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_PUT |
189 | */ | 194 | */ |
@@ -221,7 +226,8 @@ struct GNUNET_DHT_ClientPutMessage { | |||
221 | /** | 226 | /** |
222 | * Message to monitor put requests going through peer, DHT service -> clients. | 227 | * Message to monitor put requests going through peer, DHT service -> clients. |
223 | */ | 228 | */ |
224 | struct GNUNET_DHT_MonitorPutMessage { | 229 | struct GNUNET_DHT_MonitorPutMessage |
230 | { | ||
225 | /** | 231 | /** |
226 | * Type: #GNUNET_MESSAGE_TYPE_DHT_MONITOR_PUT | 232 | * Type: #GNUNET_MESSAGE_TYPE_DHT_MONITOR_PUT |
227 | */ | 233 | */ |
@@ -272,7 +278,8 @@ struct GNUNET_DHT_MonitorPutMessage { | |||
272 | /** | 278 | /** |
273 | * Message to request monitoring messages, clients -> DHT service. | 279 | * Message to request monitoring messages, clients -> DHT service. |
274 | */ | 280 | */ |
275 | struct GNUNET_DHT_MonitorStartStopMessage { | 281 | struct GNUNET_DHT_MonitorStartStopMessage |
282 | { | ||
276 | /** | 283 | /** |
277 | * Type: #GNUNET_MESSAGE_TYPE_DHT_MONITOR_START or | 284 | * Type: #GNUNET_MESSAGE_TYPE_DHT_MONITOR_START or |
278 | * #GNUNET_MESSAGE_TYPE_DHT_MONITOR_STOP | 285 | * #GNUNET_MESSAGE_TYPE_DHT_MONITOR_STOP |
@@ -314,7 +321,8 @@ struct GNUNET_DHT_MonitorStartStopMessage { | |||
314 | /** | 321 | /** |
315 | * Message to monitor get requests going through peer, DHT service -> clients. | 322 | * Message to monitor get requests going through peer, DHT service -> clients. |
316 | */ | 323 | */ |
317 | struct GNUNET_DHT_MonitorGetMessage { | 324 | struct GNUNET_DHT_MonitorGetMessage |
325 | { | ||
318 | /** | 326 | /** |
319 | * Type: #GNUNET_MESSAGE_TYPE_DHT_MONITOR_GET | 327 | * Type: #GNUNET_MESSAGE_TYPE_DHT_MONITOR_GET |
320 | */ | 328 | */ |
@@ -357,7 +365,8 @@ struct GNUNET_DHT_MonitorGetMessage { | |||
357 | /** | 365 | /** |
358 | * Message to monitor get results going through peer, DHT service -> clients. | 366 | * Message to monitor get results going through peer, DHT service -> clients. |
359 | */ | 367 | */ |
360 | struct GNUNET_DHT_MonitorGetRespMessage { | 368 | struct GNUNET_DHT_MonitorGetRespMessage |
369 | { | ||
361 | /** | 370 | /** |
362 | * Type: #GNUNET_MESSAGE_TYPE_DHT_P2P_RESULT | 371 | * Type: #GNUNET_MESSAGE_TYPE_DHT_P2P_RESULT |
363 | */ | 372 | */ |