GNUnet  0.11.x
Data Fields
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 32 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 38 of file mq.c.

Referenced by GNUNET_MQ_env_copy(), and GNUNET_MQ_env_next().

◆ 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 44 of file mq.c.

◆ 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 61 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 66 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 73 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 78 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: