Data Fields | |
struct GNUNET_MQ_Envelope * | next |
Messages are stored in a linked list. More... | |
struct GNUNET_MQ_Envelope * | prev |
Messages are stored in a linked list Each queue has its own list of envelopes. More... | |
struct GNUNET_MessageHeader * | mh |
Actual allocated message header. More... | |
struct GNUNET_MQ_Handle * | parent_queue |
Queue the message is queued in, NULL if message is not queued. More... | |
GNUNET_SCHEDULER_TaskCallback | sent_cb |
Called after the message was sent irrevocably. More... | |
void * | sent_cls |
Closure for send_cb. More... | |
enum GNUNET_MQ_PriorityPreferences | priority |
Flags that were set for this envelope by GNUNET_MQ_env_set_options(). More... | |
int | have_custom_options |
Did the application call GNUNET_MQ_env_set_options()? More... | |
struct GNUNET_MQ_Envelope* GNUNET_MQ_Envelope::next |
Messages are stored in a linked list.
Each queue has its own list of envelopes.
Definition at line 39 of file mq.c.
Referenced by GNUNET_MQ_env_copy(), GNUNET_MQ_env_next(), and iterate_next_member_ids().
struct GNUNET_MQ_Envelope* GNUNET_MQ_Envelope::prev |
Messages are stored in a linked list Each queue has its own list of envelopes.
Definition at line 45 of file mq.c.
Referenced by handle_room_entry(), handle_room_open(), and handle_room_sync().
struct GNUNET_MessageHeader* GNUNET_MQ_Envelope::mh |
Actual allocated message header.
The GNUNET_MQ_Envelope header is allocated at the end of the message.
Definition at line 52 of file mq.c.
Referenced by GNUNET_MQ_destroy(), GNUNET_MQ_env_copy(), GNUNET_MQ_env_get_msg(), GNUNET_MQ_impl_current(), GNUNET_MQ_msg_(), GNUNET_MQ_msg_copy(), GNUNET_MQ_msg_nested_mh_(), GNUNET_MQ_send(), GNUNET_MQ_send_cancel(), GNUNET_MQ_send_copy(), and impl_send_continue().
struct GNUNET_MQ_Handle* GNUNET_MQ_Envelope::parent_queue |
Queue the message is queued in, NULL if message is not queued.
Definition at line 57 of file mq.c.
Referenced by GNUNET_MQ_destroy(), GNUNET_MQ_discard(), GNUNET_MQ_env_copy(), GNUNET_MQ_env_get_options(), GNUNET_MQ_impl_send_continue(), GNUNET_MQ_impl_send_in_flight(), GNUNET_MQ_send(), GNUNET_MQ_send_cancel(), and GNUNET_MQ_unsent_head().
GNUNET_SCHEDULER_TaskCallback GNUNET_MQ_Envelope::sent_cb |
Called after the message was sent irrevocably.
Definition at line 62 of file mq.c.
Referenced by GNUNET_MQ_env_copy(), GNUNET_MQ_impl_send_continue(), GNUNET_MQ_impl_send_in_flight(), GNUNET_MQ_notify_sent(), and GNUNET_MQ_send_copy().
void* GNUNET_MQ_Envelope::sent_cls |
Closure for send_cb.
Definition at line 67 of file mq.c.
Referenced by GNUNET_MQ_impl_send_continue(), GNUNET_MQ_impl_send_in_flight(), GNUNET_MQ_notify_sent(), and GNUNET_MQ_send_copy().
enum GNUNET_MQ_PriorityPreferences GNUNET_MQ_Envelope::priority |
Flags that were set for this envelope by GNUNET_MQ_env_set_options().
Only valid if have_custom_options is set.
Definition at line 74 of file mq.c.
Referenced by GNUNET_MQ_env_get_options(), and GNUNET_MQ_env_set_options().
int GNUNET_MQ_Envelope::have_custom_options |
Did the application call GNUNET_MQ_env_set_options()?
Definition at line 79 of file mq.c.
Referenced by GNUNET_MQ_env_copy(), GNUNET_MQ_env_get_options(), and GNUNET_MQ_env_set_options().