diff options
author | Uros Majstorovic <majstor@majstor.org> | 2017-09-07 17:40:47 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2017-09-07 17:40:47 +0200 |
commit | 8d3e76d078cf1fd9d295391735ca4208eaa5f3de (patch) | |
tree | d21479d7eabe71471f2fe6ae785deed4fd9daf3f /code/core/rbuf.h | |
parent | c129b10bf7c851d94002767aa09e06c526cacb7d (diff) |
fixed rbuf start
Diffstat (limited to 'code/core/rbuf.h')
-rw-r--r-- | code/core/rbuf.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/code/core/rbuf.h b/code/core/rbuf.h index 3644f9c..3941125 100644 --- a/code/core/rbuf.h +++ b/code/core/rbuf.h @@ -96,9 +96,8 @@ ssize_t ecp_rbuf_msg_store(ECPRBuffer *rbuf, ecp_seq_t seq, int idx, unsigned ch ssize_t ecp_rbuf_pld_send(struct ECPConnection *conn, unsigned char *payload, size_t payload_size, ecp_seq_t seq); -int ecp_rbuf_conn_create(struct ECPConnection *conn, ECPRBSend *buf_s, ECPRBMessage *msg_s, unsigned int msg_s_size, ECPRBRecv *buf_r, ECPRBMessage *msg_r, unsigned int msg_r_size); -void ecp_rbuf_conn_destroy(struct ECPConnection *conn); -int ecp_rbuf_conn_start(struct ECPConnection *conn, ecp_seq_t seq); +int ecp_rbuf_create(struct ECPConnection *conn, ECPRBSend *buf_s, ECPRBMessage *msg_s, unsigned int msg_s_size, ECPRBRecv *buf_r, ECPRBMessage *msg_r, unsigned int msg_r_size); +void ecp_rbuf_destroy(struct ECPConnection *conn); int ecp_rbuf_recv_create(struct ECPConnection *conn, ECPRBRecv *buf, ECPRBMessage *msg, unsigned int msg_size); void ecp_rbuf_recv_destroy(struct ECPConnection *conn); |