|author||Holger Hans Peter Freyther <firstname.lastname@example.org>||2010-04-05 18:13:40 +0200|
|committer||Holger Hans Peter Freyther <email@example.com>||2010-04-05 22:00:24 +0200|
[sccp] Add a force_free method for connections
E.g. when the underlying connection transport medium is gone one needs to force to close SCCP connections, add this helper. It will remove the connection from the list of connections and it will free the data.
Diffstat (limited to 'include')
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sccp/sccp.h b/include/sccp/sccp.h
index 2e14788..604a2ac 100644
@@ -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.