From 770fc69429e6b61ca648b15816fd003819abe3e2 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 12 Aug 2017 23:09:10 +0200 Subject: conn_close handler added --- code/core/core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'code/core/core.h') 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 { -- cgit v1.2.3