aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsup_router.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-11-20 00:37:07 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2019-11-20 01:25:39 +0100
commit2f75803e5dba27b1a2afcffe753f58ee29d83987 (patch)
treeddaca8df29d59e722ea8f8ee641902430dfa8c7b /src/gsup_router.h
parent7f4dd11682186f6c2426ff9b7f6075b3c409cba1 (diff)
move headers to include/osmocom/hlr
Apply the same headers structure that we keep in most Osmocom source trees: Keep noinst_HEADERS in include/osmocom/hlr and include them using #include <osmocom/hlr/*.h> The only header kept in src/ is db_bootstrap.h, because it is generated during build time. If it was built in include/osmocom/hlr, we would need db.o to depend on db_bootstrap.h in a different subdir, which automake can't do well. Change-Id: Ic912fe27f545b85443c5fb713d8c3c8aac23c9ad
Diffstat (limited to 'src/gsup_router.h')
-rw-r--r--src/gsup_router.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/gsup_router.h b/src/gsup_router.h
deleted file mode 100644
index bff484e..0000000
--- a/src/gsup_router.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#pragma once
-
-#include <stdint.h>
-#include "gsup_server.h"
-
-struct gsup_route {
- struct llist_head list;
-
- uint8_t *addr;
- struct osmo_gsup_conn *conn;
-};
-
-struct osmo_gsup_conn *gsup_route_find(struct osmo_gsup_server *gs,
- const uint8_t *addr, size_t addrlen);
-
-struct gsup_route *gsup_route_find_by_conn(const struct osmo_gsup_conn *conn);
-
-/* 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);
-
-int osmo_gsup_addr_send(struct osmo_gsup_server *gs,
- const uint8_t *addr, size_t addrlen,
- struct msgb *msg);