diff options
Diffstat (limited to 'src/include/gnunet_mq_lib.h')
-rw-r--r-- | src/include/gnunet_mq_lib.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h index ca09e7196..412fde4e7 100644 --- a/src/include/gnunet_mq_lib.h +++ b/src/include/gnunet_mq_lib.h | |||
@@ -120,7 +120,9 @@ GNUNET_MQ_extract_nested_mh_ (const struct GNUNET_MessageHeader *mh, | |||
120 | * @param nested_mh the message to append to the message after base_size | 120 | * @param nested_mh the message to append to the message after base_size |
121 | */ | 121 | */ |
122 | struct GNUNET_MQ_Envelope * | 122 | struct GNUNET_MQ_Envelope * |
123 | GNUNET_MQ_msg_nested_mh_ (struct GNUNET_MessageHeader **mhp, uint16_t base_size, uint16_t type, | 123 | GNUNET_MQ_msg_nested_mh_ (struct GNUNET_MessageHeader **mhp, |
124 | uint16_t base_size, | ||
125 | uint16_t type, | ||
124 | const struct GNUNET_MessageHeader *nested_mh); | 126 | const struct GNUNET_MessageHeader *nested_mh); |
125 | 127 | ||
126 | 128 | ||
@@ -199,7 +201,8 @@ typedef void | |||
199 | * @param impl_state state of the implementation | 201 | * @param impl_state state of the implementation |
200 | */ | 202 | */ |
201 | typedef void | 203 | typedef void |
202 | (*GNUNET_MQ_DestroyImpl) (struct GNUNET_MQ_Handle *mq, void *impl_state); | 204 | (*GNUNET_MQ_DestroyImpl) (struct GNUNET_MQ_Handle *mq, |
205 | void *impl_state); | ||
203 | 206 | ||
204 | 207 | ||
205 | /** | 208 | /** |
@@ -209,7 +212,8 @@ typedef void | |||
209 | * @param impl_state state specific to the implementation | 212 | * @param impl_state state specific to the implementation |
210 | */ | 213 | */ |
211 | typedef void | 214 | typedef void |
212 | (*GNUNET_MQ_CancelImpl) (struct GNUNET_MQ_Handle *mq, void *impl_state); | 215 | (*GNUNET_MQ_CancelImpl) (struct GNUNET_MQ_Handle *mq, |
216 | void *impl_state); | ||
213 | 217 | ||
214 | 218 | ||
215 | /** | 219 | /** |
@@ -328,7 +332,8 @@ GNUNET_MQ_assoc_add (struct GNUNET_MQ_Handle *mq, void *assoc_data); | |||
328 | * @return the associated data | 332 | * @return the associated data |
329 | */ | 333 | */ |
330 | void * | 334 | void * |
331 | GNUNET_MQ_assoc_get (struct GNUNET_MQ_Handle *mq, uint32_t request_id); | 335 | GNUNET_MQ_assoc_get (struct GNUNET_MQ_Handle *mq, |
336 | uint32_t request_id); | ||
332 | 337 | ||
333 | 338 | ||
334 | /** | 339 | /** |
@@ -339,7 +344,8 @@ GNUNET_MQ_assoc_get (struct GNUNET_MQ_Handle *mq, uint32_t request_id); | |||
339 | * @return the associated data | 344 | * @return the associated data |
340 | */ | 345 | */ |
341 | void * | 346 | void * |
342 | GNUNET_MQ_assoc_remove (struct GNUNET_MQ_Handle *mq, uint32_t request_id); | 347 | GNUNET_MQ_assoc_remove (struct GNUNET_MQ_Handle *mq, |
348 | uint32_t request_id); | ||
343 | 349 | ||
344 | 350 | ||
345 | /** | 351 | /** |