libosmovty  0.12.0
Osmocom VTY library
Stats

Functions

static int osmo_stat_item_handler (struct osmo_stat_item_group *statg, struct osmo_stat_item *item, void *vctx_)
 
void vty_out_stat_item_group (struct vty *vty, const char *prefix, struct osmo_stat_item_group *statg)
 print a stat item group to given VTY More...
 
static int osmo_stat_item_group_handler (struct osmo_stat_item_group *statg, void *vctx_)
 

Detailed Description

Function Documentation

◆ osmo_stat_item_group_handler()

static int osmo_stat_item_group_handler ( struct osmo_stat_item_group *  statg,
void *  vctx_ 
)
static

◆ osmo_stat_item_handler()

static int osmo_stat_item_handler ( struct osmo_stat_item_group *  statg,
struct osmo_stat_item *  item,
void *  vctx_ 
)
static

◆ vty_out_stat_item_group()

void vty_out_stat_item_group ( struct vty vty,
const char *  prefix,
struct osmo_stat_item_group *  statg 
)

print a stat item group to given VTY

Parameters
[in]vtyThe VTY to which it should be printed
[in]prefixAny additional log prefix ahead of each line
[in]statgStat item group to be printed

References osmo_stat_item_handler(), vty_out_context::prefix, vty_out_context::vty, VTY_NEWLINE, and vty_out().