diff options
author | Thomas White <taw@physics.org> | 2021-04-22 15:53:56 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-04-23 14:57:24 +0200 |
commit | 2f4f6ad97467a62ed8bf5cb44040548b89493c0b (patch) | |
tree | 7e3e3ccd0c2087f75486844bdb179945affa703a /src/im-zmq.h | |
parent | 518a25b79026a17604c0430e1f0ed14954fe713a (diff) |
indexamajig: Add --zmq-subscribe
Diffstat (limited to 'src/im-zmq.h')
-rw-r--r-- | src/im-zmq.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/im-zmq.h b/src/im-zmq.h index c6bad6cc..9cc36b48 100644 --- a/src/im-zmq.h +++ b/src/im-zmq.h @@ -38,13 +38,17 @@ #if defined(HAVE_ZMQ) -extern struct im_zmq *im_zmq_connect(const char *zmq_address); +extern struct im_zmq *im_zmq_connect(const char *zmq_address, + char **subscriptions, + int n_subscriptions); extern void im_zmq_shutdown(struct im_zmq *z); extern void *im_zmq_fetch(struct im_zmq *z, size_t *pdata_size); #else /* defined(HAVE_ZMQ) */ -static UNUSED struct im_zmq *im_zmq_connect(const char *zmq_address) { return NULL; } +static UNUSED struct im_zmq *im_zmq_connect(const char *zmq_address, + char *zmq_subscriptions, + int n_subscriptions) { return NULL; } static UNUSED void im_zmq_shutdown(struct im_zmq *z) { } static UNUSED void *im_zmq_fetch(struct im_zmq *z, size_t *psize) { *psize = 0; return NULL; } |