Message transmitted if a watched value changes. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/statistics/statistics.h>
Data Fields | |
struct GNUNET_MessageHeader | header |
Type: GNUNET_MESSAGE_TYPE_STATISTICS_WATCH_VALUE. More... | |
uint32_t | flags |
0 for absolute value, 1 for relative value; 2 to make persistent (see GNUNET_STATISTICS_SETFLAG_*). More... | |
uint32_t | wid |
Unique watch identification number (watch requests are enumerated in the order they are received, the first request having a wid of zero). More... | |
uint32_t | reserved |
Reserved (always 0). More... | |
uint64_t | value |
Value. More... | |
Message transmitted if a watched value changes.
Definition at line 115 of file statistics.h.
struct GNUNET_MessageHeader GNUNET_STATISTICS_WatchValueMessage::header |
Type: GNUNET_MESSAGE_TYPE_STATISTICS_WATCH_VALUE.
Definition at line 120 of file statistics.h.
uint32_t GNUNET_STATISTICS_WatchValueMessage::flags |
0 for absolute value, 1 for relative value; 2 to make persistent (see GNUNET_STATISTICS_SETFLAG_*).
Definition at line 126 of file statistics.h.
Referenced by handle_statistics_watch_value(), and notify_change().
uint32_t GNUNET_STATISTICS_WatchValueMessage::wid |
Unique watch identification number (watch requests are enumerated in the order they are received, the first request having a wid of zero).
Definition at line 134 of file statistics.h.
Referenced by handle_statistics_watch_value(), and notify_change().
uint32_t GNUNET_STATISTICS_WatchValueMessage::reserved |
Reserved (always 0).
Definition at line 139 of file statistics.h.
Referenced by handle_statistics_watch_value(), and notify_change().
uint64_t GNUNET_STATISTICS_WatchValueMessage::value |
Note that if this is a relative value, it will be signed even though the type given here is unsigned.
Definition at line 145 of file statistics.h.
Referenced by handle_statistics_watch_value(), and notify_change().