From 131f2e309668d1e64cfcb4aeb869665d8018bcfe Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 17 Aug 2009 14:07:34 +0200 Subject: subscribe API removed --- include/zmq.h | 3 --- include/zmq.hpp | 6 ------ 2 files changed, 9 deletions(-) (limited to 'include') diff --git a/include/zmq.h b/include/zmq.h index 14c4f44..46d779b 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -172,9 +172,6 @@ ZMQ_EXPORT int zmq_bind (void *s, const char *addr); // Connect the socket to a particular address. ZMQ_EXPORT int zmq_connect (void *s, const char *addr); -// Subscribe for the subset of messages identified by 'criteria' argument. -ZMQ_EXPORT int zmq_subscribe (void *s, const char *criteria); - // Send the message 'msg' to the socket 's'. 'flags' argument can be // combination of following values: // ZMQ_NOBLOCK - if message cannot be sent, return immediately. diff --git a/include/zmq.hpp b/include/zmq.hpp index 0ba972b..e8e4f15 100644 --- a/include/zmq.hpp +++ b/include/zmq.hpp @@ -260,12 +260,6 @@ namespace zmq } } - inline void subscribe (const char *criteria_) - { - int rc = zmq_subscribe (ptr, criteria_); - assert (rc == 0); - } - inline int send (message_t &msg_, int flags_ = 0) { int rc = zmq_send (ptr, &msg_, flags_); -- cgit v1.2.3