summaryrefslogtreecommitdiff
path: root/code/core/rbuf.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2017-08-14 19:56:24 +0200
committerUros Majstorovic <majstor@majstor.org>2017-08-14 19:56:24 +0200
commit38e2385f5846860916f8880d818b3b024b8c7dd9 (patch)
tree7bb01d9c38df29b49bf87c50317ec67c61c6e2a7 /code/core/rbuf.h
parentdb44820eb01106f7780c7126e53885e8b34c8aea (diff)
msgq implementation
Diffstat (limited to 'code/core/rbuf.h')
-rw-r--r--code/core/rbuf.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/code/core/rbuf.h b/code/core/rbuf.h
index 9bb9701..67ac8c9 100644
--- a/code/core/rbuf.h
+++ b/code/core/rbuf.h
@@ -42,7 +42,6 @@ typedef struct ECPRBMessage {
unsigned char msg[ECP_MAX_PKT];
ssize_t size;
unsigned char flags;
- ECPNetAddr addr;
} ECPRBMessage;
typedef struct ECPRBuffer {
@@ -65,6 +64,9 @@ typedef struct ECPRBRecv {
ecp_ack_t hole_mask_full;
ecp_ack_t hole_mask_empty;
ECPRBuffer rbuf;
+#ifdef ECP_WITH_MSGQ
+ ECPConnMsgQ msgq;
+#endif
} ECPRBRecv;
typedef struct ECPRBSend {