11 #include <osmocom/core/linuxlist.h>
15 #define STAT_ITEM_NOVALUE_ID 0
39 int32_t default_value;
73 static inline void osmo_stat_item_group_udp_idx(
81 void osmo_stat_item_set(
struct osmo_stat_item *item, int32_t value);
86 const char *name,
const unsigned int idx);
118 typedef int (*osmo_stat_item_handler_t)(
128 osmo_stat_item_handler_t handle_item,
void *data);
130 int osmo_stat_item_for_each_group(osmo_stat_item_group_handler_t handle_group,
void *data);