aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_mq_lib.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2016-08-17 22:28:47 +0000
committerGabor X Toth <*@tg-x.net>2016-08-17 22:28:47 +0000
commit4f51ef196f6dff91fd83085462fd9c4624f7296b (patch)
treed746490910d6653bb25fc90a5432d982418af096 /src/include/gnunet_mq_lib.h
parent667cc67f8224ccf4ff391b125a614cf90cf5917e (diff)
downloadgnunet-4f51ef196f6dff91fd83085462fd9c4624f7296b.tar.gz
gnunet-4f51ef196f6dff91fd83085462fd9c4624f7296b.zip
GNUNET_MQ_get_last_envelope()
Diffstat (limited to 'src/include/gnunet_mq_lib.h')
-rw-r--r--src/include/gnunet_mq_lib.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h
index 8f0c6ee3f..d383adbb5 100644
--- a/src/include/gnunet_mq_lib.h
+++ b/src/include/gnunet_mq_lib.h
@@ -434,8 +434,8 @@ GNUNET_MQ_discard (struct GNUNET_MQ_Envelope *mqm);
434 434
435 435
436/** 436/**
437 * Function to obtain the current envelope from 437 * Function to obtain the current envelope
438 * within #GNUNET_MQ_SendImpl implementations. 438 * from within #GNUNET_MQ_SendImpl implementations.
439 * 439 *
440 * @param mq message queue to interrogate 440 * @param mq message queue to interrogate
441 * @return the current envelope 441 * @return the current envelope
@@ -445,6 +445,16 @@ GNUNET_MQ_get_current_envelope (struct GNUNET_MQ_Handle *mq);
445 445
446 446
447/** 447/**
448 * Function to obtain the last envelope in the queue.
449 *
450 * @param mq message queue to interrogate
451 * @return the last envelope in the queue
452 */
453struct GNUNET_MQ_Envelope *
454GNUNET_MQ_get_last_envelope (struct GNUNET_MQ_Handle *mq);
455
456
457/**
448 * Set application-specific options for this envelope. 458 * Set application-specific options for this envelope.
449 * Overrides the options set for the queue with 459 * Overrides the options set for the queue with
450 * #GNUNET_MQ_set_options() for this message only. 460 * #GNUNET_MQ_set_options() for this message only.