diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2021-09-19 23:35:17 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2021-09-19 23:35:17 +0200 |
commit | 48896731e966376ec6f256e175e0d12cd17afa42 (patch) | |
tree | 91d6e73d6861956831f22a644bef1026eecd8ec5 /src/include/gnunet_mq_lib.h | |
parent | 10eac9bb7230973e2c37be9181c36bd086ca38de (diff) | |
download | gnunet-48896731e966376ec6f256e175e0d12cd17afa42.tar.gz gnunet-48896731e966376ec6f256e175e0d12cd17afa42.zip |
more dhtu-gnunet basics
Diffstat (limited to 'src/include/gnunet_mq_lib.h')
-rw-r--r-- | src/include/gnunet_mq_lib.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h index 37bba8c1b..765647a98 100644 --- a/src/include/gnunet_mq_lib.h +++ b/src/include/gnunet_mq_lib.h | |||
@@ -331,9 +331,10 @@ typedef int (*GNUNET_MQ_MessageValidationCallback) ( | |||
331 | * @param msg the message to send | 331 | * @param msg the message to send |
332 | * @param impl_state state of the implementation | 332 | * @param impl_state state of the implementation |
333 | */ | 333 | */ |
334 | typedef void (*GNUNET_MQ_SendImpl) (struct GNUNET_MQ_Handle *mq, | 334 | typedef void |
335 | const struct GNUNET_MessageHeader *msg, | 335 | (*GNUNET_MQ_SendImpl) (struct GNUNET_MQ_Handle *mq, |
336 | void *impl_state); | 336 | const struct GNUNET_MessageHeader *msg, |
337 | void *impl_state); | ||
337 | 338 | ||
338 | 339 | ||
339 | /** | 340 | /** |
@@ -345,8 +346,9 @@ typedef void (*GNUNET_MQ_SendImpl) (struct GNUNET_MQ_Handle *mq, | |||
345 | * @param mq the message queue to destroy | 346 | * @param mq the message queue to destroy |
346 | * @param impl_state state of the implementation | 347 | * @param impl_state state of the implementation |
347 | */ | 348 | */ |
348 | typedef void (*GNUNET_MQ_DestroyImpl) (struct GNUNET_MQ_Handle *mq, | 349 | typedef void |
349 | void *impl_state); | 350 | (*GNUNET_MQ_DestroyImpl) (struct GNUNET_MQ_Handle *mq, |
351 | void *impl_state); | ||
350 | 352 | ||
351 | 353 | ||
352 | /** | 354 | /** |
@@ -355,8 +357,9 @@ typedef void (*GNUNET_MQ_DestroyImpl) (struct GNUNET_MQ_Handle *mq, | |||
355 | * @param mq message queue | 357 | * @param mq message queue |
356 | * @param impl_state state specific to the implementation | 358 | * @param impl_state state specific to the implementation |
357 | */ | 359 | */ |
358 | typedef void (*GNUNET_MQ_CancelImpl) (struct GNUNET_MQ_Handle *mq, | 360 | typedef void |
359 | void *impl_state); | 361 | (*GNUNET_MQ_CancelImpl) (struct GNUNET_MQ_Handle *mq, |
362 | void *impl_state); | ||
360 | 363 | ||
361 | 364 | ||
362 | /** | 365 | /** |
@@ -368,7 +371,9 @@ typedef void (*GNUNET_MQ_CancelImpl) (struct GNUNET_MQ_Handle *mq, | |||
368 | * @param cls closure | 371 | * @param cls closure |
369 | * @param error error code | 372 | * @param error error code |
370 | */ | 373 | */ |
371 | typedef void (*GNUNET_MQ_ErrorHandler) (void *cls, enum GNUNET_MQ_Error error); | 374 | typedef void |
375 | (*GNUNET_MQ_ErrorHandler) (void *cls, | ||
376 | enum GNUNET_MQ_Error error); | ||
372 | 377 | ||
373 | 378 | ||
374 | /** | 379 | /** |