2010-04-06 09:55:37 +00:00
|
|
|
#ifndef OPENBSC_VTY_H
|
|
|
|
#define OPENBSC_VTY_H
|
|
|
|
|
2010-05-19 17:45:32 +00:00
|
|
|
#include <osmocom/vty/vty.h>
|
|
|
|
#include <osmocom/vty/buffer.h>
|
2010-05-31 14:04:12 +00:00
|
|
|
#include <osmocom/vty/command.h>
|
2010-05-14 15:59:53 +00:00
|
|
|
|
2010-04-15 09:28:14 +00:00
|
|
|
struct gsm_network;
|
|
|
|
struct vty;
|
|
|
|
|
|
|
|
void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *);
|
2010-04-06 09:55:37 +00:00
|
|
|
|
2010-05-14 15:59:53 +00:00
|
|
|
struct buffer *vty_argv_to_buffer(int argc, const char *argv[], int base);
|
|
|
|
|
|
|
|
extern struct cmd_element cfg_description_cmd;
|
|
|
|
extern struct cmd_element cfg_no_description_cmd;
|
|
|
|
|
2010-05-31 14:04:12 +00:00
|
|
|
enum bsc_vty_node {
|
|
|
|
GSMNET_NODE = _LAST_OSMOVTY_NODE + 1,
|
|
|
|
SUBSCR_NODE,
|
2010-09-15 15:28:49 +00:00
|
|
|
MSC_NODE,
|
2011-09-01 16:18:43 +00:00
|
|
|
MNCC_INT_NODE,
|
2012-11-20 21:22:04 +00:00
|
|
|
SMPP_NODE,
|
|
|
|
SMPP_ESME_NODE,
|
2016-06-19 16:06:02 +00:00
|
|
|
HLR_NODE,
|
2018-12-03 10:00:04 +00:00
|
|
|
CFG_SGS_NODE,
|
2010-05-31 14:04:12 +00:00
|
|
|
};
|
|
|
|
|
2011-02-19 15:48:17 +00:00
|
|
|
int bsc_vty_init_extra(void);
|
|
|
|
|
2016-05-20 19:59:55 +00:00
|
|
|
void msc_vty_init(struct gsm_network *msc_network);
|
|
|
|
|
2016-05-09 19:18:08 +00:00
|
|
|
struct gsm_network *gsmnet_from_vty(struct vty *vty);
|
|
|
|
|
2010-04-06 09:55:37 +00:00
|
|
|
#endif
|