aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-oc2g/oml_router.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-oc2g/oml_router.h')
-rw-r--r--src/osmo-bts-oc2g/oml_router.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/osmo-bts-oc2g/oml_router.h b/src/osmo-bts-oc2g/oml_router.h
new file mode 100644
index 00000000..4b22e9c5
--- /dev/null
+++ b/src/osmo-bts-oc2g/oml_router.h
@@ -0,0 +1,13 @@
+#pragma once
+
+struct gsm_bts;
+struct osmo_fd;
+
+/**
+ * The default path oc2gbts will listen for incoming
+ * registrations for OML routing and sending.
+ */
+#define OML_ROUTER_PATH "/var/run/oc2gbts_oml_router"
+
+
+int oml_router_init(struct gsm_bts *bts, const char *path, struct osmo_fd *accept, struct osmo_fd *read);