aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sigtran/osmo_ss7.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-04-05 22:32:13 +0200
committerHarald Welte <laforge@gnumonks.org>2017-04-07 17:26:33 +0200
commit73d909a8e835f9293a24cb92b78f9b0d8a163bed (patch)
treee26a2dd361f2b8adbbea2aa8f61f963d07e871cd /include/osmocom/sigtran/osmo_ss7.h
parenta9c866162fcebffe025863b8d79a08d992ea92a7 (diff)
add converter functions between osmo_ss7 and m3ua traffic mode types
Diffstat (limited to 'include/osmocom/sigtran/osmo_ss7.h')
-rw-r--r--include/osmocom/sigtran/osmo_ss7.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h
index 7918a51..d765ae0 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -406,3 +406,6 @@ osmo_sccp_simple_server_add_clnt(struct osmo_sccp_instance *inst,
const char *name, uint32_t pc,
int local_port, int remote_port,
const char *remote_ip);
+
+enum osmo_ss7_as_traffic_mode osmo_ss7_tmode_from_xua(uint32_t in);
+int osmo_ss7_tmode_to_xua(enum osmo_ss7_as_traffic_mode tmod);