From cc3755a16f00026af882ed14d122cc8aa6d50e82 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 3 Aug 2009 11:30:13 +0200 Subject: renamed from zs to zmq --- src/pipe.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/pipe.cpp') diff --git a/src/pipe.cpp b/src/pipe.cpp index 26042ae..bf761b4 100644 --- a/src/pipe.cpp +++ b/src/pipe.cpp @@ -19,29 +19,29 @@ #include "pipe.hpp" -zs::pipe_t::pipe_t () : - ypipe_t (false), +zmq::pipe_t::pipe_t () : + ypipe_t (false), index (-1) { } -zs::pipe_t::~pipe_t () +zmq::pipe_t::~pipe_t () { // Flush any outstanding messages to the pipe. flush (); // Deallocate all the messages in the pipe. - zs_msg msg; + zmq_msg msg; while (read (&msg)) - zs_msg_close (&msg); + zmq_msg_close (&msg); } -void zs::pipe_t::set_index (int index_) +void zmq::pipe_t::set_index (int index_) { index = index_; } -int zs::pipe_t::get_index () +int zmq::pipe_t::get_index () { return index; } -- cgit v1.2.3