aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_mq_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-24 11:54:36 +0000
committerChristian Grothoff <christian@grothoff.org>2016-06-24 11:54:36 +0000
commiteafc8188ef6584f77dc4dbc6827210f384986e1a (patch)
tree501f87ddd224b0cbd5aaf9008b57005b129cac24 /src/include/gnunet_mq_lib.h
parent2e95a6961bf57170b215ab28e50dbf2376d46747 (diff)
downloadgnunet-eafc8188ef6584f77dc4dbc6827210f384986e1a.tar.gz
gnunet-eafc8188ef6584f77dc4dbc6827210f384986e1a.zip
update peerinfo API to use MQ
Diffstat (limited to 'src/include/gnunet_mq_lib.h')
-rw-r--r--src/include/gnunet_mq_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h
index 0bc8307f7..7bcaa7efc 100644
--- a/src/include/gnunet_mq_lib.h
+++ b/src/include/gnunet_mq_lib.h
@@ -412,6 +412,16 @@ GNUNET_MQ_msg_ (struct GNUNET_MessageHeader **mhp,
412 412
413 413
414/** 414/**
415 * Create a new envelope by copying an existing message.
416 *
417 * @param hdr header of the message to copy
418 * @return envelope containing @a hdr
419 */
420struct GNUNET_MQ_Envelope *
421GNUNET_MQ_msg_copy (const struct GNUNET_MessageHeader *hdr);
422
423
424/**
415 * Discard the message queue message, free all 425 * Discard the message queue message, free all
416 * allocated resources. Must be called in the event 426 * allocated resources. Must be called in the event
417 * that a message is created but should not actually be sent. 427 * that a message is created but should not actually be sent.