aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/vty.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-13 02:03:50 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-08-30 14:14:58 +0200
commitee6cfdc0d9710e3a69c8e1939eb21c8f2b759885 (patch)
treeed5aeb0979a1838778649078847a1ed6caa6b1a4 /include/openbsc/vty.h
parent6c809185ee86d318d10205756bb6d91914d11fdf (diff)
split off osmo-sgsn: remove files, apply build1.1.0
Diffstat (limited to 'include/openbsc/vty.h')
-rw-r--r--include/openbsc/vty.h49
1 files changed, 2 insertions, 47 deletions
diff --git a/include/openbsc/vty.h b/include/openbsc/vty.h
index f7056016c..d2e3d9a73 100644
--- a/include/openbsc/vty.h
+++ b/include/openbsc/vty.h
@@ -1,54 +1,9 @@
-#ifndef OPENBSC_VTY_H
-#define OPENBSC_VTY_H
+#pragma once
-#include <osmocom/vty/vty.h>
-#include <osmocom/vty/buffer.h>
#include <osmocom/vty/command.h>
-struct gsm_network;
-struct vty;
-
-void openbsc_vty_print_statistics(struct vty *vty, struct gsm_network *);
-
-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;
-
enum bsc_vty_node {
- GSMNET_NODE = _LAST_OSMOVTY_NODE + 1,
- BTS_NODE,
- TRX_NODE,
- TS_NODE,
- SUBSCR_NODE,
- MGCP_NODE,
- GBPROXY_NODE,
+ GBPROXY_NODE = _LAST_OSMOVTY_NODE + 1,
SGSN_NODE,
- OML_NODE,
- NAT_NODE,
- NAT_BSC_NODE,
- MSC_NODE,
- OM2K_NODE,
- OM2K_CON_GROUP_NODE,
- TRUNK_NODE,
- PGROUP_NODE,
- MNCC_INT_NODE,
- NITB_NODE,
- BSC_NODE,
- SMPP_NODE,
- SMPP_ESME_NODE,
GTPHUB_NODE,
- HLR_NODE,
};
-
-extern int bsc_vty_is_config_node(struct vty *vty, int node);
-
-struct log_info;
-int bsc_vty_init(struct gsm_network *network);
-int bsc_vty_init_extra(void);
-
-void msc_vty_init(struct gsm_network *msc_network);
-
-struct gsm_network *gsmnet_from_vty(struct vty *vty);
-
-#endif