GNUnet  0.11.x
Data Fields
GNUNET_STATISTICS_SetMessage Struct Reference

Message to set a statistic. More...

#include </home/handbook/gnunet/src/statistics/statistics.h>

Collaboration diagram for GNUNET_STATISTICS_SetMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_STATISTICS_SET. More...
 
uint32_t flags
 0 for absolute value, 1 for relative value; 2 to make persistent (see GNUNET_STATISTICS_SETFLAG_*). More...
 
uint64_t value
 Value. More...
 

Detailed Description

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.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_STATISTICS_SetMessage::header

Type: GNUNET_MESSAGE_TYPE_STATISTICS_SET.

Definition at line 96 of file statistics.h.

Referenced by check_set(), handle_set(), and save().

◆ flags

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

◆ value

uint64_t GNUNET_STATISTICS_SetMessage::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 108 of file statistics.h.

Referenced by transmit_set().


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