diff options
Diffstat (limited to 'src/set/set.h')
-rw-r--r-- | src/set/set.h | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/src/set/set.h b/src/set/set.h index 74c7ddda8..3fdfad5da 100644 --- a/src/set/set.h +++ b/src/set/set.h | |||
@@ -37,7 +37,8 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
37 | * a new set to perform operations with. Includes the desired | 37 | * a new set to perform operations with. Includes the desired |
38 | * set operation type. | 38 | * set operation type. |
39 | */ | 39 | */ |
40 | struct GNUNET_SET_CreateMessage { | 40 | struct GNUNET_SET_CreateMessage |
41 | { | ||
41 | /** | 42 | /** |
42 | * Type: #GNUNET_MESSAGE_TYPE_SET_CREATE | 43 | * Type: #GNUNET_MESSAGE_TYPE_SET_CREATE |
43 | */ | 44 | */ |
@@ -55,7 +56,8 @@ struct GNUNET_SET_CreateMessage { | |||
55 | * incoming requests to perform a certain type of set operation for a | 56 | * incoming requests to perform a certain type of set operation for a |
56 | * certain type of application. | 57 | * certain type of application. |
57 | */ | 58 | */ |
58 | struct GNUNET_SET_ListenMessage { | 59 | struct GNUNET_SET_ListenMessage |
60 | { | ||
59 | /** | 61 | /** |
60 | * Type: #GNUNET_MESSAGE_TYPE_SET_LISTEN | 62 | * Type: #GNUNET_MESSAGE_TYPE_SET_LISTEN |
61 | */ | 63 | */ |
@@ -77,7 +79,8 @@ struct GNUNET_SET_ListenMessage { | |||
77 | * Message sent by a listening client to the service to accept | 79 | * Message sent by a listening client to the service to accept |
78 | * performing the operation with the other peer. | 80 | * performing the operation with the other peer. |
79 | */ | 81 | */ |
80 | struct GNUNET_SET_AcceptMessage { | 82 | struct GNUNET_SET_AcceptMessage |
83 | { | ||
81 | /** | 84 | /** |
82 | * Type: #GNUNET_MESSAGE_TYPE_SET_ACCEPT | 85 | * Type: #GNUNET_MESSAGE_TYPE_SET_ACCEPT |
83 | */ | 86 | */ |
@@ -129,7 +132,8 @@ struct GNUNET_SET_AcceptMessage { | |||
129 | * Message sent by a listening client to the service to reject | 132 | * Message sent by a listening client to the service to reject |
130 | * performing the operation with the other peer. | 133 | * performing the operation with the other peer. |
131 | */ | 134 | */ |
132 | struct GNUNET_SET_RejectMessage { | 135 | struct GNUNET_SET_RejectMessage |
136 | { | ||
133 | /** | 137 | /** |
134 | * Type: #GNUNET_MESSAGE_TYPE_SET_REJECT | 138 | * Type: #GNUNET_MESSAGE_TYPE_SET_REJECT |
135 | */ | 139 | */ |
@@ -145,7 +149,8 @@ struct GNUNET_SET_RejectMessage { | |||
145 | /** | 149 | /** |
146 | * A request for an operation with another client. | 150 | * A request for an operation with another client. |
147 | */ | 151 | */ |
148 | struct GNUNET_SET_RequestMessage { | 152 | struct GNUNET_SET_RequestMessage |
153 | { | ||
149 | /** | 154 | /** |
150 | * Type: #GNUNET_MESSAGE_TYPE_SET_REQUEST. | 155 | * Type: #GNUNET_MESSAGE_TYPE_SET_REQUEST. |
151 | */ | 156 | */ |
@@ -172,7 +177,8 @@ struct GNUNET_SET_RequestMessage { | |||
172 | * client (not as listener). A set (which determines the operation | 177 | * client (not as listener). A set (which determines the operation |
173 | * type) must already exist in association with this client. | 178 | * type) must already exist in association with this client. |
174 | */ | 179 | */ |
175 | struct GNUNET_SET_EvaluateMessage { | 180 | struct GNUNET_SET_EvaluateMessage |
181 | { | ||
176 | /** | 182 | /** |
177 | * Type: #GNUNET_MESSAGE_TYPE_SET_EVALUATE | 183 | * Type: #GNUNET_MESSAGE_TYPE_SET_EVALUATE |
178 | */ | 184 | */ |
@@ -235,7 +241,8 @@ struct GNUNET_SET_EvaluateMessage { | |||
235 | * (set union) or part of the final result, depending on | 241 | * (set union) or part of the final result, depending on |
236 | * options specified for the operation. | 242 | * options specified for the operation. |
237 | */ | 243 | */ |
238 | struct GNUNET_SET_ResultMessage { | 244 | struct GNUNET_SET_ResultMessage |
245 | { | ||
239 | /** | 246 | /** |
240 | * Type: #GNUNET_MESSAGE_TYPE_SET_RESULT | 247 | * Type: #GNUNET_MESSAGE_TYPE_SET_RESULT |
241 | */ | 248 | */ |
@@ -270,7 +277,8 @@ struct GNUNET_SET_ResultMessage { | |||
270 | * Message sent by client to the service to add or remove | 277 | * Message sent by client to the service to add or remove |
271 | * an element to/from the set. | 278 | * an element to/from the set. |
272 | */ | 279 | */ |
273 | struct GNUNET_SET_ElementMessage { | 280 | struct GNUNET_SET_ElementMessage |
281 | { | ||
274 | /** | 282 | /** |
275 | * Type: #GNUNET_MESSAGE_TYPE_SET_ADD or | 283 | * Type: #GNUNET_MESSAGE_TYPE_SET_ADD or |
276 | * #GNUNET_MESSAGE_TYPE_SET_REMOVE | 284 | * #GNUNET_MESSAGE_TYPE_SET_REMOVE |
@@ -295,7 +303,8 @@ struct GNUNET_SET_ElementMessage { | |||
295 | * Sent to the service by the client | 303 | * Sent to the service by the client |
296 | * in order to cancel a set operation. | 304 | * in order to cancel a set operation. |
297 | */ | 305 | */ |
298 | struct GNUNET_SET_CancelMessage { | 306 | struct GNUNET_SET_CancelMessage |
307 | { | ||
299 | /** | 308 | /** |
300 | * Type: #GNUNET_MESSAGE_TYPE_SET_CANCEL | 309 | * Type: #GNUNET_MESSAGE_TYPE_SET_CANCEL |
301 | */ | 310 | */ |
@@ -312,7 +321,8 @@ struct GNUNET_SET_CancelMessage { | |||
312 | * Set element transmitted by service to client in response to a set | 321 | * Set element transmitted by service to client in response to a set |
313 | * iteration request. | 322 | * iteration request. |
314 | */ | 323 | */ |
315 | struct GNUNET_SET_IterResponseMessage { | 324 | struct GNUNET_SET_IterResponseMessage |
325 | { | ||
316 | /** | 326 | /** |
317 | * Type: #GNUNET_MESSAGE_TYPE_SET_ITER_ELEMENT | 327 | * Type: #GNUNET_MESSAGE_TYPE_SET_ITER_ELEMENT |
318 | */ | 328 | */ |
@@ -337,7 +347,8 @@ struct GNUNET_SET_IterResponseMessage { | |||
337 | /** | 347 | /** |
338 | * Client acknowledges receiving element in iteration. | 348 | * Client acknowledges receiving element in iteration. |
339 | */ | 349 | */ |
340 | struct GNUNET_SET_IterAckMessage { | 350 | struct GNUNET_SET_IterAckMessage |
351 | { | ||
341 | /** | 352 | /** |
342 | * Type: #GNUNET_MESSAGE_TYPE_SET_ITER_ACK | 353 | * Type: #GNUNET_MESSAGE_TYPE_SET_ITER_ACK |
343 | */ | 354 | */ |
@@ -353,7 +364,8 @@ struct GNUNET_SET_IterAckMessage { | |||
353 | /** | 364 | /** |
354 | * Server responds to a lazy copy request. | 365 | * Server responds to a lazy copy request. |
355 | */ | 366 | */ |
356 | struct GNUNET_SET_CopyLazyResponseMessage { | 367 | struct GNUNET_SET_CopyLazyResponseMessage |
368 | { | ||
357 | /** | 369 | /** |
358 | * Type: #GNUNET_MESSAGE_TYPE_SET_COPY_LAZY_RESPONSE | 370 | * Type: #GNUNET_MESSAGE_TYPE_SET_COPY_LAZY_RESPONSE |
359 | */ | 371 | */ |
@@ -369,7 +381,8 @@ struct GNUNET_SET_CopyLazyResponseMessage { | |||
369 | /** | 381 | /** |
370 | * Client connects to a lazily copied set. | 382 | * Client connects to a lazily copied set. |
371 | */ | 383 | */ |
372 | struct GNUNET_SET_CopyLazyConnectMessage { | 384 | struct GNUNET_SET_CopyLazyConnectMessage |
385 | { | ||
373 | /** | 386 | /** |
374 | * Type: #GNUNET_MESSAGE_TYPE_SET_COPY_LAZY_CONNECT | 387 | * Type: #GNUNET_MESSAGE_TYPE_SET_COPY_LAZY_CONNECT |
375 | */ | 388 | */ |