aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 22:54:12 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 22:54:12 +0200
commit014136da471cb9abd8440125f564c2832ea32626 (patch)
tree95dbb09e56e39c9d2e804c86317012447aa47729 /openbsc/include
parent91b5a31a2ce73b988fa1c7f28e3a2cc2c8b77b90 (diff)
parentb71517f07ec46558bc6032bdaa27650f8bef634d (diff)
Merge branch 'on-waves/sccp'
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/sccp/sccp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsc/include/sccp/sccp.h b/openbsc/include/sccp/sccp.h
index 643479adc..604a2ac72 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);
/**
@@ -106,6 +106,11 @@ int sccp_connection_close(struct sccp_connection *connection, int cause);
int sccp_connection_free(struct sccp_connection *connection);
/**
+ * internal..
+ */
+int sccp_connection_force_free(struct sccp_connection *conn);
+
+/**
* Create a new socket. Set your callbacks and then call bind to open
* the connection.
*/