GNUnet 0.22.2
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 find_qe(), make_queue_entry(), process_job_queue(), and reconnect().

◆ 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

◆ cont

◆ cont_cls

◆ qc

union QueueContext GNUNET_DATASTORE_QueueEntry::qc

◆ env

◆ 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 GNUNET_FS_queue_(), make_queue_entry(), and process_job_queue().

◆ 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: