gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r37992 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r37992 - gnunet/src/include
Date: Fri, 23 Sep 2016 23:17:13 +0200

Author: tg
Date: 2016-09-23 23:17:13 +0200 (Fri, 23 Sep 2016)
New Revision: 37992

Modified:
   gnunet/src/include/gnunet_mq_lib.h
Log:
MQ doc

Modified: gnunet/src/include/gnunet_mq_lib.h
===================================================================
--- gnunet/src/include/gnunet_mq_lib.h  2016-09-23 14:57:05 UTC (rev 37991)
+++ gnunet/src/include/gnunet_mq_lib.h  2016-09-23 21:17:13 UTC (rev 37992)
@@ -42,7 +42,8 @@
  * The allocated message will already have the type and size field set.
  *
  * @param mvar variable to store the allocated message in;
- *             must have a header field
+ *             must have a header field;
+ *             can be NULL
  * @param esize extra space to allocate after the message
  * @param type type of the message
  * @return the MQ message
@@ -54,7 +55,8 @@
  * The contained message will already have the type and size field set.
  *
  * @param mvar variable to store the allocated message in;
- *             must have a header field
+ *             must have a header field;
+ *             can be NULL
  * @param type type of the message
  * @return the allocated envelope
  */
@@ -111,6 +113,7 @@
  * @param mh message header to extract nested message header from
  * @param base_size size of the message before the nested message's header 
appears
  * @return pointer to the nested message, does not copy the message
+ *         OR NULL in case of a malformed message.
  */
 const struct GNUNET_MessageHeader *
 GNUNET_MQ_extract_nested_mh_ (const struct GNUNET_MessageHeader *mh,




reply via email to

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