summaryrefslogtreecommitdiff
path: root/src/zmq_engine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq_engine.hpp')
-rw-r--r--src/zmq_engine.hpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/zmq_engine.hpp b/src/zmq_engine.hpp
index 0d1b10a..ea77b7e 100644
--- a/src/zmq_engine.hpp
+++ b/src/zmq_engine.hpp
@@ -20,6 +20,8 @@
#ifndef __ZMQ_ZMQ_ENGINE_HPP_INCLUDED__
#define __ZMQ_ZMQ_ENGINE_HPP_INCLUDED__
+#include <stddef.h>
+
#include "i_engine.hpp"
#include "io_object.hpp"
#include "tcp_socket.hpp"
@@ -54,13 +56,15 @@ namespace zmq
tcp_socket_t tcp_socket;
handle_t handle;
+ unsigned char *inbuf_storage;
unsigned char *inbuf;
- int insize;
- int inpos;
+ size_t insize;
+ size_t inpos;
+ unsigned char *outbuf_storage;
unsigned char *outbuf;
- int outsize;
- int outpos;
+ size_t outsize;
+ size_t outpos;
i_inout *inout;