summaryrefslogtreecommitdiff
path: root/src/zmq_encoder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq_encoder.hpp')
-rw-r--r--src/zmq_encoder.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zmq_encoder.hpp b/src/zmq_encoder.hpp
index 825e60f..8d4e956 100644
--- a/src/zmq_encoder.hpp
+++ b/src/zmq_encoder.hpp
@@ -32,7 +32,7 @@ namespace zmq
{
public:
- zmq_encoder_t (size_t bufsize_);
+ zmq_encoder_t (size_t bufsize_, bool trim_prefix_);
~zmq_encoder_t ();
void set_inout (struct i_inout *source_);
@@ -46,6 +46,8 @@ namespace zmq
::zmq_msg_t in_progress;
unsigned char tmpbuf [9];
+ bool trim_prefix;
+
zmq_encoder_t (const zmq_encoder_t&);
void operator = (const zmq_encoder_t&);
};