summaryrefslogtreecommitdiffstats
path: root/gsm_ms.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2011-07-20 12:57:59 +0200
committerAndreas Eversberg2011-07-20 12:59:35 +0200
commit39a36cb99a6dba1441a7a4b51914e0dadf3a7ae8 (patch)
tree2b2bae0c0c348848535251ac1afebbf5b328d129 /gsm_ms.cpp
parentDon't try to install default/gsm.conf as it was removed. (diff)
downloadlcr-39a36cb99a6dba1441a7a4b51914e0dadf3a7ae8.tar.gz
lcr-39a36cb99a6dba1441a7a4b51914e0dadf3a7ae8.tar.xz
lcr-39a36cb99a6dba1441a7a4b51914e0dadf3a7ae8.zip
Make LCR compile with latest osmocomBB code.
The libosmocore structure has changed.
Diffstat (limited to 'gsm_ms.cpp')
-rw-r--r--gsm_ms.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/gsm_ms.cpp b/gsm_ms.cpp
index 481a4ac..b586f30 100644
--- a/gsm_ms.cpp
+++ b/gsm_ms.cpp
@@ -18,9 +18,9 @@ extern "C" {
#include <getopt.h>
#include <arpa/inet.h>
-#include <osmocore/select.h>
-#include <osmocore/talloc.h>
-#include <osmocore/gsmtap_util.h>
+#include <osmocom/core/select.h>
+#include <osmocom/core/talloc.h>
+#include <osmocom/core/gsmtap_util.h>
#include <osmocom/bb/common/osmocom_data.h>
#include <osmocom/bb/common/logging.h>
@@ -34,6 +34,7 @@ short vty_port = 4247;
struct llist_head ms_list;
struct log_target *stderr_target;
void *l23_ctx = NULL;
+struct gsmtap_inst *gsmtap_inst;
static int dtmf_timeout(struct lcr_timer *timer, void *instance, int index);
@@ -913,7 +914,7 @@ int handle_gsm_ms(int *_quit)
if (quit && llist_empty(&ms_list))
*_quit = 1;
// debug_reset_context();
- if (bsc_select_main(1)) /* polling */
+ if (osmo_select_main(1)) /* polling */
work = 1;
return work;