65#define GNUNET_STATISTICS_PERSIST_BIT ((uint32_t) (1LLU << 31))
70#define GNUNET_STATISTICS_SETFLAG_ABSOLUTE 0
75#define GNUNET_STATISTICS_SETFLAG_RELATIVE 1
83#define GNUNET_STATISTICS_SETFLAG_PERSISTENT 2
commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_STATISTICS_VALUE.
uint32_t uid
Unique numerical identifier for the value (will not change during the same client-session).
Message to set a statistic.
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_*).
Message transmitted if a watched value changes.
uint32_t reserved
Reserved (always 0).
uint32_t flags
0 for absolute value, 1 for relative value; 2 to make persistent (see GNUNET_STATISTICS_SETFLAG_*).
uint32_t wid
Unique watch identification number (watch requests are enumerated in the order they are received,...
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_STATISTICS_WATCH_VALUE.