diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-08 16:32:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-08 16:32:50 +0000 |
commit | 4ab9f527078552f8a26008f6856fec0b21607a54 (patch) | |
tree | 05c6ee49edbcbf01910f2bc1b7a33fa042a3f301 /src/include/gnunet_mq_lib.h | |
parent | dedde9454bd4cb4ce90c5803fcf135968408aaac (diff) | |
download | gnunet-4ab9f527078552f8a26008f6856fec0b21607a54.tar.gz gnunet-4ab9f527078552f8a26008f6856fec0b21607a54.zip |
add GNUNET_MQ_set_handlers_closure API
Diffstat (limited to 'src/include/gnunet_mq_lib.h')
-rw-r--r-- | src/include/gnunet_mq_lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h index 7da5aa778..43cefca9f 100644 --- a/src/include/gnunet_mq_lib.h +++ b/src/include/gnunet_mq_lib.h | |||
@@ -536,6 +536,18 @@ GNUNET_MQ_queue_for_callbacks (GNUNET_MQ_SendImpl send, | |||
536 | 536 | ||
537 | 537 | ||
538 | /** | 538 | /** |
539 | * Change the closure argument in all of the `handlers` of the | ||
540 | * @a mq. | ||
541 | * | ||
542 | * @param mq to modify | ||
543 | * @param handlers_cls new closure to use | ||
544 | */ | ||
545 | void | ||
546 | GNUNET_MQ_set_handlers_closure (struct GNUNET_MQ_Handle *mq, | ||
547 | void *handlers_cls); | ||
548 | |||
549 | |||
550 | /** | ||
539 | * Call a callback once the envelope has been sent, that is, | 551 | * Call a callback once the envelope has been sent, that is, |
540 | * sending it can not be canceled anymore. | 552 | * sending it can not be canceled anymore. |
541 | * There can be only one notify sent callback per envelope. | 553 | * There can be only one notify sent callback per envelope. |