diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-03 11:30:13 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-03 11:30:13 +0200 |
commit | cc3755a16f00026af882ed14d122cc8aa6d50e82 (patch) | |
tree | 33a2197bab1bd6068dbfcc446fe70aaa07808fa9 /src/msg.hpp | |
parent | 183b6887644ac05c951a3f9143248ed86e91052f (diff) |
renamed from zs to zmq
Diffstat (limited to 'src/msg.hpp')
-rw-r--r-- | src/msg.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
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 <http://www.gnu.org/licenses/>. */ -#ifndef __ZS_MSG_HPP_INCLUDE__ -#define __ZS_MSG_HPP_INCLUDE__ +#ifndef __ZMQ_MSG_HPP_INCLUDE__ +#define __ZMQ_MSG_HPP_INCLUDE__ #include <stddef.h> -#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; }; //} |