GNUnet  0.11.x
Data Fields
GNUNET_STATISTICS_ReplyMessage Struct Reference

Statistics message. More...

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

Collaboration diagram for GNUNET_STATISTICS_ReplyMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_STATISTICS_VALUE. More...
 
uint32_t uid
 Unique numerical identifier for the value (will not change during the same client-session). More...
 
uint64_t value
 The value. More...
 

Detailed Description

Statistics message.

Contains how long the system is up and one value.

The struct is be followed by the service name and name of the statistic, both 0-terminated.

Definition at line 40 of file statistics.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_STATISTICS_ReplyMessage::header

Type: GNUNET_MESSAGE_TYPE_STATISTICS_VALUE.

Definition at line 45 of file statistics.h.

Referenced by check_statistics_value(), and handle_statistics_value().

◆ uid

uint32_t GNUNET_STATISTICS_ReplyMessage::uid

Unique numerical identifier for the value (will not change during the same client-session).

Highest bit will be set for persistent values (see GNUNET_STATISTICS_PERSIST_BIT).

Definition at line 53 of file statistics.h.

Referenced by transmit().

◆ value

uint64_t GNUNET_STATISTICS_ReplyMessage::value

The value.

Definition at line 58 of file statistics.h.

Referenced by transmit().


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