aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_mq_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-22 16:49:08 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-22 16:49:08 +0100
commit85088f7eedd1146890a5ce9af05fff934a5b1b8d (patch)
treed344906e3022c6c80aa373b989f4bb26f18dc00e /src/include/gnunet_mq_lib.h
parent633bed1b616820d351b4ed3216273138a28587f2 (diff)
downloadgnunet-85088f7eedd1146890a5ce9af05fff934a5b1b8d.tar.gz
gnunet-85088f7eedd1146890a5ce9af05fff934a5b1b8d.zip
converting 'pt' to new CADET API, not tested/testable, as exit/vpn are not converted yet
Diffstat (limited to 'src/include/gnunet_mq_lib.h')
-rw-r--r--src/include/gnunet_mq_lib.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h
index f9ad6c913..b7f1eecaa 100644
--- a/src/include/gnunet_mq_lib.h
+++ b/src/include/gnunet_mq_lib.h
@@ -473,7 +473,6 @@ struct GNUNET_MQ_MessageHandler
473 */ 473 */
474struct GNUNET_MQ_Envelope * 474struct GNUNET_MQ_Envelope *
475GNUNET_MQ_msg_ (struct GNUNET_MessageHeader **mhp, 475GNUNET_MQ_msg_ (struct GNUNET_MessageHeader **mhp,
476
477 uint16_t size, 476 uint16_t size,
478 uint16_t type); 477 uint16_t type);
479 478
@@ -511,6 +510,17 @@ GNUNET_MQ_get_current_envelope (struct GNUNET_MQ_Handle *mq);
511 510
512 511
513/** 512/**
513 * Function to copy an envelope. The envelope must not yet
514 * be in any queue or have any options or callbacks set.
515 *
516 * @param env envelope to copy
517 * @return copy of @a env
518 */
519struct GNUNET_MQ_Envelope *
520GNUNET_MQ_env_copy (struct GNUNET_MQ_Envelope *env);
521
522
523/**
514 * Function to obtain the last envelope in the queue. 524 * Function to obtain the last envelope in the queue.
515 * 525 *
516 * @param mq message queue to interrogate 526 * @param mq message queue to interrogate