diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-22 17:32:15 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-22 17:32:15 +0100 |
commit | 88a0df3dcc38c6e82f483bff386c87d8e1ec4459 (patch) | |
tree | c086b6c30a6fc54e0d72aabe7857f3b659915caa /src/include/gnunet_mq_lib.h | |
parent | 85088f7eedd1146890a5ce9af05fff934a5b1b8d (diff) | |
download | gnunet-88a0df3dcc38c6e82f483bff386c87d8e1ec4459.tar.gz gnunet-88a0df3dcc38c6e82f483bff386c87d8e1ec4459.zip |
converting 'vpn' to new CADET API, not tested/testable, as exit is not converted yet
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 |