GNUnet 0.21.0
GNUNET_MQ_Envelope Struct Reference
Collaboration diagram for GNUNET_MQ_Envelope:
[legend]

Data Fields

struct GNUNET_MQ_Envelopenext
 Messages are stored in a linked list. More...
 
struct GNUNET_MQ_Envelopeprev
 Messages are stored in a linked list Each queue has its own list of envelopes. More...
 
struct GNUNET_MessageHeadermh
 Actual allocated message header. More...
 
struct GNUNET_MQ_Handleparent_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...
 

Detailed Description

Definition at line 33 of file mq.c.

Field Documentation

◆ next

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().

◆ prev

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().

◆ mh

struct GNUNET_MessageHeader* GNUNET_MQ_Envelope::mh

◆ parent_queue

struct GNUNET_MQ_Handle* GNUNET_MQ_Envelope::parent_queue

◆ sent_cb

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().

◆ sent_cls

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().

◆ priority

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().

◆ have_custom_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().


The documentation for this struct was generated from the following file: