diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-06-06 14:40:16 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-06-06 14:40:16 +0200 |
commit | 6ec81884f4c22f789a7b77f7eb77e01ada971464 (patch) | |
tree | 5c0fa7daa6e534b13dccf367cad261c250453350 /code/ecp/core.h | |
parent | ae52e2507afb2dcb43424ddf96067b5da52f20ee (diff) |
ecp_conn_create_t/ecp_conn_destroy_t/ecp_conn_open_t/ecp_conn_close_t typedefs fixed
Diffstat (limited to 'code/ecp/core.h')
-rw-r--r-- | code/ecp/core.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/code/ecp/core.h b/code/ecp/core.h index 946213d..7ab116e 100644 --- a/code/ecp/core.h +++ b/code/ecp/core.h @@ -156,10 +156,10 @@ typedef ssize_t (*ecp_conn_handler_msg_t) (struct ECPConnection *c, ecp_seq_t s, typedef struct ECPConnection * (*ecp_conn_alloc_t) (unsigned char t); 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 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 ECPBuffer { unsigned char *buffer; @@ -218,10 +218,10 @@ typedef struct ECPFragIter { typedef struct ECPConnHandler { ecp_conn_handler_msg_t msg[ECP_MAX_MTYPE]; - ecp_conn_create_t *conn_create; - ecp_conn_destroy_t *conn_destroy; - ecp_conn_open_t *conn_open; - ecp_conn_close_t *conn_close; + 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 { |