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/socket_base.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/socket_base.hpp') diff --git a/src/socket_base.hpp b/src/socket_base.hpp index ed0272a..c1de8e6 100644 --- a/src/socket_base.hpp +++ b/src/socket_base.hpp @@ -17,8 +17,8 @@ along with this program. If not, see . */ -#ifndef __ZS_SOCKET_BASE_HPP_INCLUDED__ -#define __ZS_SOCKET_BASE_HPP_INCLUDED__ +#ifndef __ZMQ_SOCKET_BASE_HPP_INCLUDED__ +#define __ZMQ_SOCKET_BASE_HPP_INCLUDED__ #include @@ -26,7 +26,7 @@ #include "i_api.hpp" #include "object.hpp" -namespace zs +namespace zmq { class socket_base_t : public object_t, public i_engine, public i_api @@ -46,12 +46,12 @@ namespace zs void shutdown (); // i_api interface implementation. - int bind (const char *addr_, struct zs_opts *opts_); - int connect (const char *addr_, struct zs_opts *opts_); + int bind (const char *addr_, struct zmq_opts *opts_); + int connect (const char *addr_, struct zmq_opts *opts_); int subscribe (const char *criteria_); - int send (struct zs_msg *msg_, int flags_); + int send (struct zmq_msg *msg_, int flags_); int flush (); - int recv (struct zs_msg *msg_, int flags_); + int recv (struct zmq_msg *msg_, int flags_); int close (); protected: -- cgit v1.2.3