summaryrefslogtreecommitdiff
path: root/src/zmq_decoder.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-03 11:30:13 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-03 11:30:13 +0200
commitcc3755a16f00026af882ed14d122cc8aa6d50e82 (patch)
tree33a2197bab1bd6068dbfcc446fe70aaa07808fa9 /src/zmq_decoder.hpp
parent183b6887644ac05c951a3f9143248ed86e91052f (diff)
renamed from zs to zmq
Diffstat (limited to 'src/zmq_decoder.hpp')
-rw-r--r--src/zmq_decoder.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zmq_decoder.hpp b/src/zmq_decoder.hpp
index 3ab8d6b..f648819 100644
--- a/src/zmq_decoder.hpp
+++ b/src/zmq_decoder.hpp
@@ -18,14 +18,14 @@
*/
-#ifndef __ZS_ZMQ_DECODER_HPP_INCLUDED__
-#define __ZS_ZMQ_DECODER_HPP_INCLUDED__
+#ifndef __ZMQ_ZMQ_DECODER_HPP_INCLUDED__
+#define __ZMQ_ZMQ_DECODER_HPP_INCLUDED__
-#include "../include/zs.h"
+#include "../include/zmq.h"
#include "decoder.hpp"
-namespace zs
+namespace zmq
{
// Decoder for 0MQ backend protocol. Converts data batches into messages.
@@ -46,7 +46,7 @@ namespace zs
struct i_session *destination;
unsigned char tmpbuf [8];
- ::zs_msg in_progress;
+ ::zmq_msg in_progress;
zmq_decoder_t (const zmq_decoder_t&);
void operator = (const zmq_decoder_t&);