libosmovty  0.10.2
Osmocom VTY library
Rate_ctr

Data Structures

struct  vty_out_context
 

Functions

static int rate_ctr_handler (struct rate_ctr_group *ctrg, struct rate_ctr *ctr, const struct rate_ctr_desc *desc, void *vctx_)
 
void vty_out_rate_ctr_group (struct vty *vty, const char *prefix, struct rate_ctr_group *ctrg)
 print a rate counter group to given VTY More...
 
static int rate_ctr_group_handler (struct rate_ctr_group *ctrg, void *vctx_)
 

Detailed Description

Function Documentation

◆ rate_ctr_group_handler()

static int rate_ctr_group_handler ( struct rate_ctr_group *  ctrg,
void *  vctx_ 
)
static

◆ rate_ctr_handler()

static int rate_ctr_handler ( struct rate_ctr_group *  ctrg,
struct rate_ctr *  ctr,
const struct rate_ctr_desc *  desc,
void *  vctx_ 
)
static

◆ vty_out_rate_ctr_group()

void vty_out_rate_ctr_group ( struct vty vty,
const char *  prefix,
struct rate_ctr_group *  ctrg 
)

print a rate counter group to given VTY

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

References rate_ctr_handler(), vty_out_context::vty, VTY_NEWLINE, and vty_out().