GNUnet  0.11.x
Data Fields
GNUNET_DATASTORE_QueueEntry Struct Reference

Entry in our priority queue. More...

Collaboration diagram for GNUNET_DATASTORE_QueueEntry:
[legend]

Data Fields

struct GNUNET_DATASTORE_QueueEntrynext
 This is a linked list. More...
 
struct GNUNET_DATASTORE_QueueEntryprev
 This is a linked list. More...
 
struct GNUNET_DATASTORE_Handleh
 Handle to the master context. More...
 
GNUNET_DATASTORE_ContinuationWithStatus cont
 Function to call after transmission of the request. More...
 
void * cont_cls
 Closure for cont. More...
 
union QueueContext qc
 Context for the operation. More...
 
struct GNUNET_MQ_Envelopeenv
 Envelope of the request to transmit, NULL after transmission. More...
 
struct GNUNET_SCHEDULER_Taskdelay_warn_task
 Task we run if this entry stalls the queue and we need to warn the user. More...
 
unsigned int priority
 Priority in the queue. More...
 
unsigned int max_queue
 Maximum allowed length of queue (otherwise this request should be discarded). More...
 
uint16_t response_type
 Expected response type. More...
 

Detailed Description

Entry in our priority queue.

Definition at line 99 of file datastore_api.c.

Field Documentation

◆ next

struct GNUNET_DATASTORE_QueueEntry* GNUNET_DATASTORE_QueueEntry::next

This is a linked list.

Definition at line 104 of file datastore_api.c.

Referenced by make_queue_entry().

◆ prev

struct GNUNET_DATASTORE_QueueEntry* GNUNET_DATASTORE_QueueEntry::prev

This is a linked list.

Definition at line 109 of file datastore_api.c.

Referenced by make_queue_entry().

◆ h

struct GNUNET_DATASTORE_Handle* GNUNET_DATASTORE_QueueEntry::h

Handle to the master context.

Definition at line 114 of file datastore_api.c.

Referenced by free_queue_entry(), GNUNET_DATASTORE_cancel(), and make_queue_entry().

◆ cont

GNUNET_DATASTORE_ContinuationWithStatus GNUNET_DATASTORE_QueueEntry::cont

Function to call after transmission of the request.

Definition at line 119 of file datastore_api.c.

◆ cont_cls

void* GNUNET_DATASTORE_QueueEntry::cont_cls

Closure for cont.

Definition at line 124 of file datastore_api.c.

◆ qc

union QueueContext GNUNET_DATASTORE_QueueEntry::qc

Context for the operation.

Definition at line 129 of file datastore_api.c.

Referenced by GNUNET_DATASTORE_disconnect(), handle_status(), make_queue_entry(), and mq_error_handler().

◆ env

struct GNUNET_MQ_Envelope* GNUNET_DATASTORE_QueueEntry::env

Envelope of the request to transmit, NULL after transmission.

Definition at line 135 of file datastore_api.c.

Referenced by free_queue_entry(), get_queue_head(), GNUNET_DATASTORE_cancel(), make_queue_entry(), mq_error_handler(), and process_queue().

◆ delay_warn_task

struct GNUNET_SCHEDULER_Task* GNUNET_DATASTORE_QueueEntry::delay_warn_task

Task we run if this entry stalls the queue and we need to warn the user.

Definition at line 141 of file datastore_api.c.

Referenced by delay_warning(), free_queue_entry(), mq_error_handler(), and process_queue().

◆ priority

unsigned int GNUNET_DATASTORE_QueueEntry::priority

Priority in the queue.

Definition at line 146 of file datastore_api.c.

Referenced by make_queue_entry().

◆ max_queue

unsigned int GNUNET_DATASTORE_QueueEntry::max_queue

Maximum allowed length of queue (otherwise this request should be discarded).

Definition at line 152 of file datastore_api.c.

Referenced by make_queue_entry().

◆ response_type

uint16_t GNUNET_DATASTORE_QueueEntry::response_type

Expected response type.

Definition at line 157 of file datastore_api.c.

Referenced by delay_warning(), get_queue_head(), GNUNET_DATASTORE_disconnect(), make_queue_entry(), and mq_error_handler().


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