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/i_api.hpp | |
parent | 183b6887644ac05c951a3f9143248ed86e91052f (diff) |
renamed from zs to zmq
Diffstat (limited to 'src/i_api.hpp')
-rw-r--r-- | src/i_api.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/i_api.hpp b/src/i_api.hpp index 4dccd9e..fc7275b 100644 --- a/src/i_api.hpp +++ b/src/i_api.hpp @@ -17,20 +17,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ZS_I_API_HPP_INCLUDED__ -#define __ZS_I_API_HPP_INCLUDED__ +#ifndef __ZMQ_I_API_HPP_INCLUDED__ +#define __ZMQ_I_API_HPP_INCLUDED__ -namespace zs +namespace zmq { struct i_api { - virtual int bind (const char *addr_, struct zs_opts *opts_) = 0; - virtual int connect (const char *addr_, struct zs_opts *opts_) = 0; + virtual int bind (const char *addr_, struct zmq_opts *opts_) = 0; + virtual int connect (const char *addr_, struct zmq_opts *opts_) = 0; virtual int subscribe (const char *criteria_) = 0; - virtual int send (struct zs_msg *msg_, int flags_) = 0; + virtual int send (struct zmq_msg *msg_, int flags_) = 0; virtual int flush () = 0; - virtual int recv (struct zs_msg *msg_, int flags_) = 0; + virtual int recv (struct zmq_msg *msg_, int flags_) = 0; virtual int close () = 0; }; |