aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/telnet_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/telnet_interface.h')
-rw-r--r--openbsc/include/openbsc/telnet_interface.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/openbsc/include/openbsc/telnet_interface.h b/openbsc/include/openbsc/telnet_interface.h
index b8c36b6a1..5a3e17930 100644
--- a/openbsc/include/openbsc/telnet_interface.h
+++ b/openbsc/include/openbsc/telnet_interface.h
@@ -21,23 +21,20 @@
#ifndef TELNET_INTERFACE_H
#define TELNET_INTERFACE_H
-#include "gsm_data.h"
-#include <openbsc/debug.h>
+#include <osmocore/logging.h>
#include <osmocore/select.h>
#include <vty/vty.h>
struct telnet_connection {
struct llist_head entry;
- struct gsm_network *network;
+ void *priv;
struct bsc_fd fd;
struct vty *vty;
struct log_target *dbg;
};
-void telnet_init(struct gsm_network *network, int port);
-
-int bsc_vty_init(struct gsm_network *net);
+int telnet_init(void *tall_ctx, void *priv, int port);
#endif