add function conv param string
[oweals/gnunet.git] / src / include / gnunet_mq_lib.h
index 0d201d36d9414889d6e0fbac6d6709cedc72c5c0..08e09d5b51c76c6f18cbdb3fbd7120e38d600300 100644 (file)
@@ -432,6 +432,16 @@ void
 GNUNET_MQ_discard (struct GNUNET_MQ_Envelope *mqm);
 
 
+/**
+ * Obtain the current length of the message queue.
+ *
+ * @param mq queue to inspect
+ * @return number of queued, non-transmitted messages
+ */
+unsigned int
+GNUNET_MQ_get_length (struct GNUNET_MQ_Handle *mq);
+
+
 /**
  * Send a message with the give message queue.
  * May only be called once per message.