GNUnet 0.21.1
GNUNET_STATISTICS_Handle Struct Reference

Handle for the service. More...

Collaboration diagram for GNUNET_STATISTICS_Handle:
[legend]

Data Fields

char * subsystem
 Name of our subsystem. More...
 
const struct GNUNET_CONFIGURATION_Handlecfg
 Configuration to use. More...
 
struct GNUNET_MQ_Handlemq
 Message queue to the service. More...
 
struct GNUNET_STATISTICS_GetHandleaction_head
 Head of the linked list of pending actions (first action to be performed). More...
 
struct GNUNET_STATISTICS_GetHandleaction_tail
 Tail of the linked list of actions (for fast append). More...
 
struct GNUNET_STATISTICS_GetHandlecurrent
 Action we are currently busy with (action request has been transmitted, we're now receiving the response from the service). More...
 
struct GNUNET_STATISTICS_WatchEntry ** watches
 Array of watch entries. More...
 
struct GNUNET_SCHEDULER_Taskbackoff_task
 Task doing exponential back-off trying to reconnect. More...
 
struct GNUNET_SCHEDULER_Taskdestroy_task
 Task for running do_destroy(). More...
 
struct GNUNET_TIME_Relative backoff
 Time for next connect retry. More...
 
uint64_t peak_heap_size
 Maximum heap size observed so far (if available). More...
 
uint64_t peak_rss
 Maximum resident set side observed so far (if available). More...
 
unsigned int watches_size
 Size of the watches array. More...
 
int do_destroy
 Should this handle auto-destruct once all actions have been processed? More...
 
int receiving
 Are we currently receiving from the service? More...
 

Detailed Description

Handle for the service.

Definition at line 177 of file statistics_api.c.

Field Documentation

◆ subsystem

char* GNUNET_STATISTICS_Handle::subsystem

Name of our subsystem.

Definition at line 182 of file statistics_api.c.

◆ cfg

const struct GNUNET_CONFIGURATION_Handle* GNUNET_STATISTICS_Handle::cfg

Configuration to use.

Definition at line 187 of file statistics_api.c.

◆ mq

struct GNUNET_MQ_Handle* GNUNET_STATISTICS_Handle::mq

Message queue to the service.

Definition at line 192 of file statistics_api.c.

◆ action_head

struct GNUNET_STATISTICS_GetHandle* GNUNET_STATISTICS_Handle::action_head

Head of the linked list of pending actions (first action to be performed).

Definition at line 198 of file statistics_api.c.

Referenced by GNUNET_STATISTICS_get_cancel().

◆ action_tail

struct GNUNET_STATISTICS_GetHandle* GNUNET_STATISTICS_Handle::action_tail

Tail of the linked list of actions (for fast append).

Definition at line 203 of file statistics_api.c.

Referenced by GNUNET_STATISTICS_get_cancel().

◆ current

struct GNUNET_STATISTICS_GetHandle* GNUNET_STATISTICS_Handle::current

Action we are currently busy with (action request has been transmitted, we're now receiving the response from the service).

Definition at line 210 of file statistics_api.c.

Referenced by GNUNET_STATISTICS_get_cancel().

◆ watches

struct GNUNET_STATISTICS_WatchEntry** GNUNET_STATISTICS_Handle::watches

Array of watch entries.

Definition at line 215 of file statistics_api.c.

◆ backoff_task

struct GNUNET_SCHEDULER_Task* GNUNET_STATISTICS_Handle::backoff_task

Task doing exponential back-off trying to reconnect.

Definition at line 220 of file statistics_api.c.

◆ destroy_task

struct GNUNET_SCHEDULER_Task* GNUNET_STATISTICS_Handle::destroy_task

Task for running do_destroy().

Definition at line 225 of file statistics_api.c.

◆ backoff

struct GNUNET_TIME_Relative GNUNET_STATISTICS_Handle::backoff

Time for next connect retry.

Definition at line 230 of file statistics_api.c.

◆ peak_heap_size

uint64_t GNUNET_STATISTICS_Handle::peak_heap_size

Maximum heap size observed so far (if available).

Definition at line 235 of file statistics_api.c.

◆ peak_rss

uint64_t GNUNET_STATISTICS_Handle::peak_rss

Maximum resident set side observed so far (if available).

Definition at line 240 of file statistics_api.c.

◆ watches_size

unsigned int GNUNET_STATISTICS_Handle::watches_size

Size of the watches array.

Definition at line 245 of file statistics_api.c.

◆ do_destroy

int GNUNET_STATISTICS_Handle::do_destroy

Should this handle auto-destruct once all actions have been processed?

Definition at line 251 of file statistics_api.c.

◆ receiving

int GNUNET_STATISTICS_Handle::receiving

Are we currently receiving from the service?

Definition at line 256 of file statistics_api.c.


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