diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-26 05:44:21 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-26 05:44:21 +0100 |
commit | 3c1221e2b23876cf0cb4170281eceb73e3395efd (patch) | |
tree | fd2ff8da05ef1b374915fd610b2dd8ff3c4df250 /openbsc/include | |
parent | 92e9caed63c4f8fbd31845badd39d3fbe7a8ffc4 (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 'openbsc/include')
-rw-r--r-- | openbsc/include/sccp/sccp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/sccp/sccp.h b/openbsc/include/sccp/sccp.h index 643479adc..2e1478812 100644 --- a/openbsc/include/sccp/sccp.h +++ b/openbsc/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); /** |