libosmovty  0.9.6.311-c977
Osmocom VTY library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
misc.h File Reference
#include <osmocom/vty/vty.h>
#include <osmocom/core/rate_ctr.h>
#include <osmocom/core/stat_item.h>
#include <osmocom/core/utils.h>

Go to the source code of this file.

Macros

#define VTY_DO_LOWER   1
 

Functions

char * vty_cmd_string_from_valstr (void *ctx, const struct value_string *vals, const char *prefix, const char *sep, const char *end, int do_lower)
 Generate a VTY command string from value_string. More...
 
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...
 
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...
 
void vty_out_statistics_full (struct vty *vty, const char *prefix)
 
void vty_out_statistics_partial (struct vty *vty, const char *prefix, int max_level)
 
void vty_out_fsm (struct vty *vty, struct osmo_fsm *fsm)
 Print information about a FSM [class] to the given VTY. More...
 
void vty_out_fsm_inst (struct vty *vty, struct osmo_fsm_inst *fsmi)
 Print a FSM instance to the given VTY. More...
 
void osmo_fsm_vty_add_cmds (void)
 Install VTY commands for FSM introspection This installs a couple of VTY commands for introspection of FSM classes as well as FSM instances. More...
 
int osmo_vty_write_config_file (const char *filename)
 Write the current running config to a given file. More...
 
int osmo_vty_save_config_file (void)
 Save the current state to the config file. More...
 

Macro Definition Documentation

#define VTY_DO_LOWER   1