gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r26920 - gnunet/src/set


From: gnunet
Subject: [GNUnet-SVN] r26920 - gnunet/src/set
Date: Wed, 17 Apr 2013 13:34:40 +0200

Author: dold
Date: 2013-04-17 13:34:39 +0200 (Wed, 17 Apr 2013)
New Revision: 26920

Modified:
   gnunet/src/set/mq.h
Log:
api fix


Modified: gnunet/src/set/mq.h
===================================================================
--- gnunet/src/set/mq.h 2013-04-17 11:07:31 UTC (rev 26919)
+++ gnunet/src/set/mq.h 2013-04-17 11:34:39 UTC (rev 26920)
@@ -68,10 +68,26 @@
 struct GNUNET_MQ_Message *
 GNUNET_MQ_msg_ (struct GNUNET_MessageHeader **mhp, uint16_t size, uint16_t 
type);
 
+/**
+ * Send a message with the give message queue.
+ * May only be called once per message.
+ * 
+ * @param mq message queue
+ * @param mqm the message to send.
+ */
 void
 GNUNET_MQ_send (struct GNUNET_MQ_MessageQueue *mq, struct GNUNET_MQ_Message 
*mqm);
 
+/**
+ * Cancel sending the message. Message must have been sent with GNUNET_MQ_send 
before.
+ * May not be called after the notify sent callback has been called
+ *
+ * @param mqm queued message to cancel
+ */
+void
+GNUNET_MQ_send_cancel (struct GNUNET_MQ_Message *mqm);
 
+
 /**
  * Associate the assoc_data in mq with a unique request id.
  *




reply via email to

[Prev in Thread] Current Thread [Next in Thread]