path: root/include/sccp/sccp.h
diff options
authorHolger Hans Peter Freyther <>2010-03-26 05:44:21 +0100
committerHolger Hans Peter Freyther <>2010-03-26 05:44:21 +0100
commita9e39c3264a4acf36b25d38207cb3bd9bb00c9ac (patch)
tree25eec296ea9024eb5e979ae570976297c384dac6 /include/sccp/sccp.h
parente929c0c8435a812cdf3ad7075aed8ee94b4eb8d8 (diff)
sccp: Change the ownership of the msgb passed to the callback
Instead of deleting the msgb within the SCCP library the implementor of the write callback needs to free it. This is required for non blocking io with the server.
Diffstat (limited to 'include/sccp/sccp.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sccp/sccp.h b/include/sccp/sccp.h
index 643479a..2e14788 100644
--- a/include/sccp/sccp.h
+++ b/include/sccp/sccp.h
@@ -94,7 +94,7 @@ struct sccp_connection {
* call sccp_system_incoming for incoming data (from the network)
* sccp will call outgoing whenever outgoing data exists
-int sccp_system_init(int (*outgoing)(struct msgb *data, void *ctx), void *context);
+int sccp_system_init(void (*outgoing)(struct msgb *data, void *ctx), void *context);
int sccp_system_incoming(struct msgb *data);