summaryrefslogtreecommitdiffstats
path: root/include/osmocom/sigtran/sccp_sap.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-04-07 18:43:22 +0200
committerHarald Welte <laforge@gnumonks.org>2017-04-10 11:48:35 +0200
commit30c2b89925232a2972e7b704e96446f6a511f4b2 (patch)
tree9b9706d32e2ac0f37fb5fe4c175bf8ff370e7737 /include/osmocom/sigtran/sccp_sap.h
parentc860f9a41e4edde38f6fb5a98775ab9194212216 (diff)
Add osmo_sccp_get_ss7() accessor function
as 'struct osmo_sccp_instance' is opaque to the user application, it is useful to have an accessor function that resolves the ss7 instance used by the SCCP instance. Change-Id: I8057a6d69584239b9781c5cece42066293ea1dd6
Diffstat (limited to 'include/osmocom/sigtran/sccp_sap.h')
-rw-r--r--include/osmocom/sigtran/sccp_sap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/sccp_sap.h b/include/osmocom/sigtran/sccp_sap.h
index a86f86a..fd25752 100644
--- a/include/osmocom/sigtran/sccp_sap.h
+++ b/include/osmocom/sigtran/sccp_sap.h
@@ -230,6 +230,7 @@ struct osmo_sccp_user;
struct osmo_sccp_instance *
osmo_sccp_instance_create(struct osmo_ss7_instance *ss7, void *priv);
void osmo_sccp_instance_destroy(struct osmo_sccp_instance *inst);
+struct osmo_ss7_instance *osmo_sccp_get_ss7(struct osmo_sccp_instance *sccp);
void osmo_sccp_user_unbind(struct osmo_sccp_user *scu);
void osmo_sccp_user_set_priv(struct osmo_sccp_user *scu, void *priv);