GNUnet 0.22.2
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 80 of file gnunet-service-statistics.c.

Field Documentation

◆ next

struct StatsEntry* StatsEntry::next

This is a linked list.

Definition at line 85 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 90 of file gnunet-service-statistics.c.

◆ subsystem

struct SubsystemEntry* StatsEntry::subsystem

Subsystem this entry belongs to.

Definition at line 95 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 101 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 106 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 111 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 116 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 121 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 126 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 132 of file gnunet-service-statistics.c.

Referenced by handle_set(), and handle_watch().


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