aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_transp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-sysmo/l1_transp.h')
-rw-r--r--src/osmo-bts-sysmo/l1_transp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_transp.h b/src/osmo-bts-sysmo/l1_transp.h
new file mode 100644
index 00000000..5226961d
--- /dev/null
+++ b/src/osmo-bts-sysmo/l1_transp.h
@@ -0,0 +1,14 @@
+#ifndef _FEMTOL1_TRANSPH_
+#define _FEMTOL1_TRANSPH_
+
+#include <osmocom/core/msgb.h>
+
+/* functions a transport calls on arrival of primitive from BTS */
+int l1if_handle_l1prim(struct femtol1_hdl *fl1h, struct msgb *msg);
+int l1if_handle_sysprim(struct femtol1_hdl *fl1h, struct msgb *msg);
+
+/* functions exported by a transport */
+int l1if_transport_open(struct femtol1_hdl *fl1h);
+int l1if_transport_close(struct femtol1_hdl *fl1h);
+
+#endif /* _FEMTOL1_TRANSP_H */