aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/statistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/statistics.h')
-rw-r--r--src/statistics/statistics.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/statistics/statistics.h b/src/statistics/statistics.h
index c01dca15a..6eb75cc99 100644
--- a/src/statistics/statistics.h
+++ b/src/statistics/statistics.h
@@ -37,7 +37,8 @@ GNUNET_NETWORK_STRUCT_BEGIN
37 * The struct is be followed by the service name and 37 * The struct is be followed by the service name and
38 * name of the statistic, both 0-terminated. 38 * name of the statistic, both 0-terminated.
39 */ 39 */
40struct GNUNET_STATISTICS_ReplyMessage { 40struct GNUNET_STATISTICS_ReplyMessage
41{
41 /** 42 /**
42 * Type: GNUNET_MESSAGE_TYPE_STATISTICS_VALUE 43 * Type: GNUNET_MESSAGE_TYPE_STATISTICS_VALUE
43 */ 44 */
@@ -61,7 +62,7 @@ struct GNUNET_STATISTICS_ReplyMessage {
61 * Flag for the `struct GNUNET_STATISTICS_ReplyMessage` UID only. 62 * Flag for the `struct GNUNET_STATISTICS_ReplyMessage` UID only.
62 * Note that other messages use #GNUNET_STATISTICS_SETFLAG_PERSISTENT. 63 * Note that other messages use #GNUNET_STATISTICS_SETFLAG_PERSISTENT.
63 */ 64 */
64#define GNUNET_STATISTICS_PERSIST_BIT ((uint32_t)(1LLU << 31)) 65#define GNUNET_STATISTICS_PERSIST_BIT ((uint32_t) (1LLU << 31))
65 66
66/** 67/**
67 * The value being set is an absolute change. 68 * The value being set is an absolute change.
@@ -87,7 +88,8 @@ struct GNUNET_STATISTICS_ReplyMessage {
87 * by the subsystem name and the name of 88 * by the subsystem name and the name of
88 * the statistic (each 0-terminated). 89 * the statistic (each 0-terminated).
89 */ 90 */
90struct GNUNET_STATISTICS_SetMessage { 91struct GNUNET_STATISTICS_SetMessage
92{
91 /** 93 /**
92 * Type: #GNUNET_MESSAGE_TYPE_STATISTICS_SET 94 * Type: #GNUNET_MESSAGE_TYPE_STATISTICS_SET
93 */ 95 */
@@ -110,7 +112,8 @@ struct GNUNET_STATISTICS_SetMessage {
110/** 112/**
111 * Message transmitted if a watched value changes. 113 * Message transmitted if a watched value changes.
112 */ 114 */
113struct GNUNET_STATISTICS_WatchValueMessage { 115struct GNUNET_STATISTICS_WatchValueMessage
116{
114 /** 117 /**
115 * Type: #GNUNET_MESSAGE_TYPE_STATISTICS_WATCH_VALUE 118 * Type: #GNUNET_MESSAGE_TYPE_STATISTICS_WATCH_VALUE
116 */ 119 */