summaryrefslogtreecommitdiff
path: root/src/xsub.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-12-05 09:48:52 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-12-05 09:48:52 +0100
commit2daa0bb49d52aeb1aa60c94505bdad72348e5d8e (patch)
tree930b7c24d4c73c0fa8840ee524dd23d047ec12f2 /src/xsub.hpp
parentc80e7b80cc726ca7c29493c2553c8d19792bb6e5 (diff)
XSUB accepts (un)subscriptions in form of messages.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/xsub.hpp')
-rw-r--r--src/xsub.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xsub.hpp b/src/xsub.hpp
index 3d7b08f..5937ae1 100644
--- a/src/xsub.hpp
+++ b/src/xsub.hpp
@@ -41,7 +41,8 @@ namespace zmq
// Overloads of functions from socket_base_t.
void xattach_pipes (class reader_t *inpipe_, class writer_t *outpipe_,
const blob_t &peer_identity_);
- int xsetsockopt (int option_, const void *optval_, size_t optvallen_);
+ int xsend (zmq_msg_t *msg_, int options_);
+ bool xhas_out ();
int xrecv (zmq_msg_t *msg_, int flags_);
bool xhas_in ();