summaryrefslogtreecommitdiffstats
path: root/include/osmocom/abis
diff options
context:
space:
mode:
authorPablo Neira Ayuso2011-06-07 12:15:26 +0200
committerPablo Neira Ayuso2011-06-07 12:36:42 +0200
commit54b4979de6ee0340694dc7cef85ddce9cf2e6aa6 (patch)
treea27038671f27f2628f8745bbdebf77fae1eb9b3b /include/osmocom/abis
parentsrc: use include/osmocom/abis instead of include/osmocom/gsm/abis (diff)
downloadlibosmo-abis-54b4979de6ee0340694dc7cef85ddce9cf2e6aa6.tar.gz
libosmo-abis-54b4979de6ee0340694dc7cef85ddce9cf2e6aa6.tar.xz
libosmo-abis-54b4979de6ee0340694dc7cef85ddce9cf2e6aa6.zip
src: add libosmo_abis_init(void *ctx) to set the talloc context
This function is called during initialization, so we can set what's the talloc context for the application and the library.
Diffstat (limited to 'include/osmocom/abis')
-rw-r--r--include/osmocom/abis/Makefile.am2
-rw-r--r--include/osmocom/abis/abis.h6
-rw-r--r--include/osmocom/abis/e1_input.h3
3 files changed, 7 insertions, 4 deletions
diff --git a/include/osmocom/abis/Makefile.am b/include/osmocom/abis/Makefile.am
index 8bdcc96..3093ee5 100644
--- a/include/osmocom/abis/Makefile.am
+++ b/include/osmocom/abis/Makefile.am
@@ -1,3 +1,3 @@
-osmoabis_HEADERS = e1_input.h subchan_demux.h ipaccess.h trau_frame.h
+osmoabis_HEADERS = abis.h e1_input.h subchan_demux.h ipaccess.h trau_frame.h
osmoabisdir = $(includedir)/osmocom/gsm/abis
diff --git a/include/osmocom/abis/abis.h b/include/osmocom/abis/abis.h
new file mode 100644
index 0000000..af8c64c
--- /dev/null
+++ b/include/osmocom/abis/abis.h
@@ -0,0 +1,6 @@
+#ifndef _OSMO_ABIS_H_
+#define _OSMO_ABIS_H_
+
+void libosmo_abis_init(void *ctx);
+
+#endif
diff --git a/include/osmocom/abis/e1_input.h b/include/osmocom/abis/e1_input.h
index c5a4137..a7ac578 100644
--- a/include/osmocom/abis/e1_input.h
+++ b/include/osmocom/abis/e1_input.h
@@ -208,9 +208,6 @@ int hsl_setup(struct gsm_network *gsmnet);
extern struct llist_head e1inp_driver_list;
extern struct llist_head e1inp_line_list;
-int e1inp_vty_init(void);
-void e1inp_init(void);
-
int _abis_nm_sendmsg(struct msgb *msg, int to_trx_oml);
/* XXX */