[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r38181 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r38181 - gnunet/src/include |
Date: |
Sun, 23 Oct 2016 00:29:06 +0200 |
Author: amatus
Date: 2016-10-23 00:29:06 +0200 (Sun, 23 Oct 2016)
New Revision: 38181
Modified:
gnunet/src/include/gnunet_mq_lib.h
Log:
cadet_api.c uses GNUNET_MQ_impl_current
Modified: gnunet/src/include/gnunet_mq_lib.h
===================================================================
--- gnunet/src/include/gnunet_mq_lib.h 2016-10-21 22:25:27 UTC (rev 38180)
+++ gnunet/src/include/gnunet_mq_lib.h 2016-10-22 22:29:06 UTC (rev 38181)
@@ -746,6 +746,19 @@
GNUNET_MQ_impl_state (struct GNUNET_MQ_Handle *mq);
+/**
+ * Get the message that should currently be sent.
+ * Fails if there is no current message.
+ * Only useful for implementing message queues,
+ * results in undefined behavior if not used carefully.
+ *
+ * @param mq message queue with the current message
+ * @return message to send, never NULL
+ */
+const struct GNUNET_MessageHeader *
+GNUNET_MQ_impl_current (struct GNUNET_MQ_Handle *mq);
+
+
#endif
/** @} */ /* end of group mq */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r38181 - gnunet/src/include,
gnunet <=