libosmovty  0.6.3
Osmocom VTY library
misc.h
1 #ifndef OSMO_VTY_MISC_H
2 #define OSMO_VTY_MISC_H
3 
4 #include <osmocom/vty/vty.h>
5 #include <osmocom/core/rate_ctr.h>
6 #include <osmocom/core/utils.h>
7 
8 #define VTY_DO_LOWER 1
9 char *vty_cmd_string_from_valstr(void *ctx, const struct value_string *vals,
10  const char *prefix, const char *sep,
11  const char *end, int do_lower);
12 
13 void vty_out_rate_ctr_group(struct vty *vty, const char *prefix,
14  struct rate_ctr_group *ctrg);
15 
16 int osmo_vty_write_config_file(const char *filename);
17 int osmo_vty_save_config_file(void);
18 
19 #endif