aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-06-15 09:40:43 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-06-15 09:40:43 +0200
commita9c411ec8cb594775bbfc9faefcf8c8d21080402 (patch)
treee1e03fdf88740c7755d9db67e3deb2bb30e4773a /include
parentb89e03de226aa2fcfb331cd8ad6de828a718bb58 (diff)
sccp: Allow to specify the context of the incoming message
At the time a SCCP CREF is sent there is no context anymore and the user of the API might not know where to return the message to. Allow to specify the incoming context and use it on the way out. There are no more callers of _send_msg which passes a NULL connection and a NULL context.
Diffstat (limited to 'include')
-rw-r--r--include/sccp/sccp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sccp/sccp.h b/include/sccp/sccp.h
index 9a616c7..36b424f 100644
--- a/include/sccp/sccp.h
+++ b/include/sccp/sccp.h
@@ -110,6 +110,7 @@ struct sccp_connection {
* The conn is NULL for UDT and other messages without a connection
*/
int sccp_system_init(void (*outgoing)(struct sccp_connection *conn, struct msgb *data, void *gctx, void *ctx), void *context);
+int sccp_system_incoming_ctx(struct msgb *data, void *ctx);
int sccp_system_incoming(struct msgb *data);
/**