Message to set a statistic. More...
#include </home/buildbot/bb-worker/worker/gnunet_release/build/src/service/statistics/statistics.h>
Data Fields | |
| struct GNUNET_MessageHeader | header | 
| Type: GNUNET_MESSAGE_TYPE_STATISTICS_SET.   | |
| uint32_t | flags | 
| 0 for absolute value, 1 for relative value; 2 to make persistent (see GNUNET_STATISTICS_SETFLAG_*).   | |
| uint64_t | value | 
| Value.   | |
Message to set a statistic.
Followed by the subsystem name and the name of the statistic (each 0-terminated).
Definition at line 91 of file statistics.h.
| struct GNUNET_MessageHeader GNUNET_STATISTICS_SetMessage::header | 
Type: GNUNET_MESSAGE_TYPE_STATISTICS_SET.
Definition at line 96 of file statistics.h.
| uint32_t GNUNET_STATISTICS_SetMessage::flags | 
0 for absolute value, 1 for relative value; 2 to make persistent (see GNUNET_STATISTICS_SETFLAG_*).
Definition at line 102 of file statistics.h.
Referenced by handle_set(), and transmit_set().
| uint64_t GNUNET_STATISTICS_SetMessage::value | 
Note that if this is a relative value, it will be signed even though the type given here is unsigned.
Definition at line 108 of file statistics.h.
Referenced by transmit_set().