summaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-04-04 22:22:42 +0200
committerHarald Welte <laforge@gnumonks.org>2017-04-10 11:48:34 +0200
commitc9c11b6cfdc8b042b22e69f8a37af2bb24709e93 (patch)
tree0e63213a0927d139b42f9c7b957876e9d14afed7 /include/osmocom
parent4881c5c1696e896cf4fdde4008856b082956a8b4 (diff)
sccp: add osmo_sccp_user_{get,set}_priv() API function
As 'struct osmo_sccp_user' is private, we need this accessor functions for the SCCP User so it can set and get the 'priv' data. Change-Id: Ia68a36dc18a7d754d63ae29c86d68e495b5c4134
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/sigtran/sccp_sap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/sccp_sap.h b/include/osmocom/sigtran/sccp_sap.h
index c1464f0..a86f86a 100644
--- a/include/osmocom/sigtran/sccp_sap.h
+++ b/include/osmocom/sigtran/sccp_sap.h
@@ -232,6 +232,8 @@ osmo_sccp_instance_create(struct osmo_ss7_instance *ss7, void *priv);
void osmo_sccp_instance_destroy(struct osmo_sccp_instance *inst);
void osmo_sccp_user_unbind(struct osmo_sccp_user *scu);
+void osmo_sccp_user_set_priv(struct osmo_sccp_user *scu, void *priv);
+void *osmo_sccp_user_get_priv(struct osmo_sccp_user *scu);
struct osmo_sccp_user *
osmo_sccp_user_bind_pc(struct osmo_sccp_instance *inst, const char *name,