summaryrefslogtreecommitdiffstats
path: root/osmo-gsup-hlr/src/gsup_router.h
diff options
context:
space:
mode:
Diffstat (limited to 'osmo-gsup-hlr/src/gsup_router.h')
-rw-r--r--osmo-gsup-hlr/src/gsup_router.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/osmo-gsup-hlr/src/gsup_router.h b/osmo-gsup-hlr/src/gsup_router.h
new file mode 100644
index 0000000..7a5bd25
--- /dev/null
+++ b/osmo-gsup-hlr/src/gsup_router.h
@@ -0,0 +1,8 @@
+struct osmo_gsup_conn *gsup_route_find(struct osmo_gsup_server *gs,
+ const uint8_t *addr, size_t addrlen);
+
+/* add a new route for the given address to the given conn */
+int gsup_route_add(struct osmo_gsup_conn *conn, const uint8_t *addr, size_t addrlen);
+
+/* delete all routes for the given connection */
+int gsup_route_del_conn(struct osmo_gsup_conn *conn);