GNUnet 0.21.1
GNUNET_STATISTICS_WatchValueMessage Struct Reference

Message transmitted if a watched value changes. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/statistics/statistics.h>

Collaboration diagram for GNUNET_STATISTICS_WatchValueMessage:
[legend]

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...
 

Detailed Description

Message transmitted if a watched value changes.

Definition at line 115 of file statistics.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_STATISTICS_WatchValueMessage::header

Type: GNUNET_MESSAGE_TYPE_STATISTICS_WATCH_VALUE.

Definition at line 120 of file statistics.h.

◆ flags

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().

◆ wid

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().

◆ reserved

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().

◆ value

uint64_t GNUNET_STATISTICS_WatchValueMessage::value

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().


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