summaryrefslogtreecommitdiff
path: root/src/xpub.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-06-11 20:29:56 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-06-11 20:29:56 +0200
commitbd86def1c799a35d5cef0c0a9a1347a18fea227e (patch)
tree4d70d0053ef86b5a614bd19ad4c5f420017279c7 /src/xpub.hpp
parent3935258b826adc31815be4f91b2f6eb02bb3c8ed (diff)
Actual message filtering happens in XPUB socket
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/xpub.hpp')
-rw-r--r--src/xpub.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xpub.hpp b/src/xpub.hpp
index c5d64b5..740d1e2 100644
--- a/src/xpub.hpp
+++ b/src/xpub.hpp
@@ -57,6 +57,9 @@ namespace zmq
static void send_unsubscription (unsigned char *data_, size_t size_,
void *arg_);
+ // Function to be applied to each matching pipes.
+ static void mark_as_matching (class pipe_t *pipe_, void *arg_);
+
// List of all subscriptions mapped to corresponding pipes.
mtrie_t subscriptions;