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