From c9c11b6cfdc8b042b22e69f8a37af2bb24709e93 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 4 Apr 2017 22:22:42 +0200 Subject: 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 --- include/osmocom/sigtran/sccp_sap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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, -- cgit v1.2.3