diff options
Diffstat (limited to 'src/include/gnunet_mq_lib.h')
-rw-r--r-- | src/include/gnunet_mq_lib.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h index b7f1eecaa..cb4affe1e 100644 --- a/src/include/gnunet_mq_lib.h +++ b/src/include/gnunet_mq_lib.h | |||
@@ -558,6 +558,17 @@ GNUNET_MQ_env_get_options (struct GNUNET_MQ_Envelope *env, | |||
558 | 558 | ||
559 | 559 | ||
560 | /** | 560 | /** |
561 | * Remove the first envelope that has not yet been sent from the message | ||
562 | * queue and return it. | ||
563 | * | ||
564 | * @param mq queue to remove envelope from | ||
565 | * @return NULL if queue is empty (or has no envelope that is not under transmission) | ||
566 | */ | ||
567 | struct GNUNET_MQ_Envelope * | ||
568 | GNUNET_MQ_unsent_head (struct GNUNET_MQ_Handle *mq); | ||
569 | |||
570 | |||
571 | /** | ||
561 | * Set application-specific options for this queue. | 572 | * Set application-specific options for this queue. |
562 | * | 573 | * |
563 | * @param mq message queue to set options for | 574 | * @param mq message queue to set options for |