summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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_);