diff options
Diffstat (limited to 'apps/osmocomBB/libosmocore/include/osmocom/vty/misc.h')
-rw-r--r-- | apps/osmocomBB/libosmocore/include/osmocom/vty/misc.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/osmocomBB/libosmocore/include/osmocom/vty/misc.h b/apps/osmocomBB/libosmocore/include/osmocom/vty/misc.h new file mode 100644 index 0000000000..db4f4a77b4 --- /dev/null +++ b/apps/osmocomBB/libosmocore/include/osmocom/vty/misc.h @@ -0,0 +1,19 @@ +#ifndef OSMO_VTY_MISC_H +#define OSMO_VTY_MISC_H + +#include <osmocom/vty/vty.h> +#include <osmocom/core/rate_ctr.h> +#include <osmocom/core/utils.h> + +#define VTY_DO_LOWER 1 +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); + +void vty_out_rate_ctr_group(struct vty *vty, const char *prefix, + struct rate_ctr_group *ctrg); + +int osmo_vty_write_config_file(const char *filename); +int osmo_vty_save_config_file(void); + +#endif |