Entry in the statistics list. More...
Data Fields | |
| struct StatsEntry * | next |
| This is a linked list. | |
| struct StatsEntry * | prev |
| This is a linked list. | |
| struct SubsystemEntry * | subsystem |
| Subsystem this entry belongs to. | |
| const char * | name |
| Name for the value stored by this entry, allocated at the end of this struct. | |
| struct WatchEntry * | we_head |
| Watch context for changes to this value, or NULL for none. | |
| struct WatchEntry * | we_tail |
| Watch context for changes to this value, or NULL for none. | |
| uint64_t | value |
| Our value. | |
| uint32_t | uid |
| Unique ID. | |
| int | persistent |
| Is this value persistent? | |
| int | set |
| Is this value set? GNUNET_NO: value is n/a, GNUNET_YES: value is valid. | |
Entry in the statistics list.
Definition at line 80 of file gnunet-service-statistics.c.
| 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().
| struct StatsEntry* StatsEntry::prev |
This is a linked list.
Definition at line 90 of file gnunet-service-statistics.c.
| 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().
| 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().
| 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().
| 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().
| 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().
| uint32_t StatsEntry::uid |
Unique ID.
Definition at line 121 of file gnunet-service-statistics.c.
Referenced by handle_set(), handle_watch(), and transmit().
| 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().
| 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().