aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_mq_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_mq_lib.h')
-rw-r--r--src/include/gnunet_mq_lib.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h
index ecee1b223..fe699c48f 100644
--- a/src/include/gnunet_mq_lib.h
+++ b/src/include/gnunet_mq_lib.h
@@ -135,6 +135,26 @@ struct GNUNET_MQ_Envelope;
135 135
136 136
137/** 137/**
138 * Obtain message contained in envelope.
139 *
140 * @param env the envelope
141 * @return message contained in the envelope
142 */
143const struct GNUNET_MessageHeader *
144GNUNET_MQ_env_get_msg (const struct GNUNET_MQ_Envelope *env);
145
146
147/**
148 * Return next envelope in queue.
149 *
150 * @param env a queued envelope
151 * @return next one, or NULL
152 */
153const struct GNUNET_MQ_Envelope *
154GNUNET_MQ_env_next (const struct GNUNET_MQ_Envelope *env);
155
156
157/**
138 * Implementation of the #GNUNET_MQ_msg_nested_mh macro. 158 * Implementation of the #GNUNET_MQ_msg_nested_mh macro.
139 * 159 *
140 * @param mhp pointer to the message header pointer that will be changed to allocate at 160 * @param mhp pointer to the message header pointer that will be changed to allocate at