diff options
Diffstat (limited to 'src/sccp_user.c')
-rw-r--r-- | src/sccp_user.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sccp_user.c b/src/sccp_user.c index 64e2d31..e619c90 100644 --- a/src/sccp_user.c +++ b/src/sccp_user.c @@ -264,6 +264,16 @@ void osmo_sccp_instance_destroy(struct osmo_sccp_instance *inst) talloc_free(inst); } +void osmo_sccp_set_priv(struct osmo_sccp_instance *sccp, void *priv) +{ + sccp->priv = priv; +} + +void *osmo_sccp_get_priv(struct osmo_sccp_instance *sccp) +{ + return sccp->priv; +} + /*! \brief derive a basic local SCCP-Address from a given SCCP instance. * \param[out] dest_addr pointer to output address memory * \param[in] inst SCCP instance |