summaryrefslogtreecommitdiff
path: root/src/zmq_encoder.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_encoder.hpp
parent183b6887644ac05c951a3f9143248ed86e91052f (diff)
renamed from zs to zmq
Diffstat (limited to 'src/zmq_encoder.hpp')
-rw-r--r--src/zmq_encoder.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/zmq_encoder.hpp b/src/zmq_encoder.hpp
index 37c4aee..829fd4b 100644
--- a/src/zmq_encoder.hpp
+++ b/src/zmq_encoder.hpp
@@ -17,14 +17,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __ZS_ZMQ_ENCODER_HPP_INCLUDED__
-#define __ZS_ZMQ_ENCODER_HPP_INCLUDED__
+#ifndef __ZMQ_ZMQ_ENCODER_HPP_INCLUDED__
+#define __ZMQ_ZMQ_ENCODER_HPP_INCLUDED__
-#include "../include/zs.h"
+#include "../include/zmq.h"
#include "encoder.hpp"
-namespace zs
+namespace zmq
{
// Encoder for 0MQ backend protocol. Converts messages into data batches.
@@ -43,7 +43,7 @@ namespace zs
bool message_ready ();
struct i_session *source;
- ::zs_msg in_progress;
+ ::zmq_msg in_progress;
unsigned char tmpbuf [9];
zmq_encoder_t (const zmq_encoder_t&);