summaryrefslogtreecommitdiff
path: root/code/core/core.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-08-12 23:09:10 +0200
committerUros Majstorovic <majstor@majstor.org>2017-08-12 23:09:10 +0200
commit770fc69429e6b61ca648b15816fd003819abe3e2 (patch)
tree389d80d2de0afd5851801cf3246f949edda0d49e /code/core/core.h
parent83aa3fed513e26e0457c6744cb110aa420d2831a (diff)
conn_close handler added
Diffstat (limited to 'code/core/core.h')
-rw-r--r--code/core/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/core/core.h b/code/core/core.h
index 382b2c1..b0694b2 100644
--- a/code/core/core.h
+++ b/code/core/core.h
@@ -117,6 +117,7 @@ typedef void ecp_conn_free_t (struct ECPConnection *c);
typedef int ecp_conn_create_t (struct ECPConnection *c, unsigned char *msg, size_t sz);
typedef void ecp_conn_destroy_t (struct ECPConnection *c);
typedef ssize_t ecp_conn_open_t (struct ECPConnection *c);
+typedef void ecp_conn_close_t (struct ECPConnection *c);
typedef struct ECPCryptoIface {
int init;
@@ -196,6 +197,7 @@ typedef struct ECPConnHandler {
ecp_conn_create_t *conn_create;
ecp_conn_destroy_t *conn_destroy;
ecp_conn_open_t *conn_open;
+ ecp_conn_close_t *conn_close;
} ECPConnHandler;
typedef struct ECPSockCTable {