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/msg.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/msg.hpp') diff --git a/src/msg.hpp b/src/msg.hpp index f4f4d26..4f35961 100644 --- a/src/msg.hpp +++ b/src/msg.hpp @@ -17,31 +17,31 @@ along with this program. If not, see . */ -#ifndef __ZS_MSG_HPP_INCLUDE__ -#define __ZS_MSG_HPP_INCLUDE__ +#ifndef __ZMQ_MSG_HPP_INCLUDE__ +#define __ZMQ_MSG_HPP_INCLUDE__ #include -#include "../include/zs.h" +#include "../include/zmq.h" #include "atomic_counter.hpp" -//namespace zs +//namespace zmq //{ // Shared message buffer. Message data are either allocated in one - // continguous block along with this structure - thus avoiding one + // continuous block along with this structure - thus avoiding one // malloc/free pair or they are stored in used-supplied memory. // In the latter case, ffn member stores pointer to the function to be // used to deallocate the data. If the buffer is actually shared (there // are at least 2 references to it) refcount member contains number of // references. - struct zs_msg_content + struct zmq_msg_content { void *data; size_t size; - zs_free_fn *ffn; - zs::atomic_counter_t refcnt; + zmq_free_fn *ffn; + zmq::atomic_counter_t refcnt; }; //} -- cgit v1.2.3