2011-03-28 17:24:21 +00:00
|
|
|
#ifndef OSMO_VTY_MISC_H
|
|
|
|
#define OSMO_VTY_MISC_H
|
|
|
|
|
|
|
|
#include <osmocom/vty/vty.h>
|
|
|
|
#include <osmocom/core/rate_ctr.h>
|
|
|
|
|
2012-08-17 10:17:38 +00:00
|
|
|
#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);
|
|
|
|
|
2011-03-28 17:24:21 +00:00
|
|
|
void vty_out_rate_ctr_group(struct vty *vty, const char *prefix,
|
|
|
|
struct rate_ctr_group *ctrg);
|
|
|
|
|
2012-03-24 17:26:24 +00:00
|
|
|
int osmo_vty_write_config_file(const char *filename);
|
|
|
|
int osmo_vty_save_config_file(void);
|
|
|
|
|
2011-03-28 17:24:21 +00:00
|
|
|
#endif
|