GNUnet  0.11.x
Data Fields
StatsEntry Struct Reference

Entry in the statistics list. More...

Collaboration diagram for StatsEntry:
[legend]

Data Fields

struct StatsEntrynext
 This is a linked list. More...
 
struct StatsEntryprev
 This is a linked list. More...
 
struct SubsystemEntrysubsystem
 Subsystem this entry belongs to. More...
 
const char * name
 Name for the value stored by this entry, allocated at the end of this struct. More...
 
struct WatchEntrywe_head
 Watch context for changes to this value, or NULL for none. More...
 
struct WatchEntrywe_tail
 Watch context for changes to this value, or NULL for none. More...
 
uint64_t value
 Our value. More...
 
uint32_t uid
 Unique ID. More...
 
int persistent
 Is this value persistent? More...
 
int set
 Is this value set? GNUNET_NO: value is n/a, GNUNET_YES: value is valid. More...
 

Detailed Description

Entry in the statistics list.

Definition at line 86 of file gnunet-service-statistics.c.

Field Documentation

◆ next

struct StatsEntry* StatsEntry::next

This is a linked list.

Definition at line 91 of file gnunet-service-statistics.c.

Referenced by client_disconnect_cb(), find_stat_entry(), and handle_get().

◆ prev

struct StatsEntry* StatsEntry::prev

This is a linked list.

Definition at line 96 of file gnunet-service-statistics.c.

◆ subsystem

struct SubsystemEntry* StatsEntry::subsystem

Subsystem this entry belongs to.

Definition at line 101 of file gnunet-service-statistics.c.

Referenced by handle_set(), handle_watch(), and transmit().

◆ name

const char* StatsEntry::name

Name for the value stored by this entry, allocated at the end of this struct.

Definition at line 107 of file gnunet-service-statistics.c.

Referenced by find_stat_entry(), handle_get(), handle_set(), handle_watch(), save(), and transmit().

◆ we_head

struct WatchEntry* StatsEntry::we_head

Watch context for changes to this value, or NULL for none.

Definition at line 112 of file gnunet-service-statistics.c.

Referenced by client_disconnect_cb(), do_shutdown(), handle_watch(), and notify_change().

◆ we_tail

struct WatchEntry* StatsEntry::we_tail

Watch context for changes to this value, or NULL for none.

Definition at line 117 of file gnunet-service-statistics.c.

Referenced by client_disconnect_cb(), do_shutdown(), and handle_watch().

◆ value

uint64_t StatsEntry::value

Our value.

Definition at line 122 of file gnunet-service-statistics.c.

Referenced by handle_set(), handle_watch(), notify_change(), save(), and transmit().

◆ uid

uint32_t StatsEntry::uid

Unique ID.

Definition at line 127 of file gnunet-service-statistics.c.

Referenced by handle_set(), handle_watch(), and transmit().

◆ persistent

int StatsEntry::persistent

Is this value persistent?

Definition at line 132 of file gnunet-service-statistics.c.

Referenced by handle_set(), notify_change(), save(), and transmit().

◆ set

int StatsEntry::set

Is this value set? GNUNET_NO: value is n/a, GNUNET_YES: value is valid.

Definition at line 138 of file gnunet-service-statistics.c.

Referenced by handle_set(), and handle_watch().


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