summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-17 14:07:34 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-17 14:07:34 +0200
commit131f2e309668d1e64cfcb4aeb869665d8018bcfe (patch)
tree8208d4bd7bc2d21a24831566fbc8480676d80e78 /include
parent059beca59d39d90a8ee0e1b07f840994962ea89e (diff)
subscribe API removed
Diffstat (limited to 'include')
-rw-r--r--include/zmq.h3
-rw-r--r--include/zmq.hpp6
2 files changed, 0 insertions, 9 deletions
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_);