aboutsummaryrefslogtreecommitdiff
path: root/src/im-zmq.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-05-05 17:07:13 +0200
committerThomas White <taw@physics.org>2021-05-05 17:14:04 +0200
commitce270ad7d8136aac47a802a9a72c011344f90527 (patch)
tree1df70574efad2ceb31edb43582ba7ff2c8a2c8ea /src/im-zmq.h
parente11394ce9133333af01afd88a0f484d6ea70665d (diff)
indexamajig: Add --zmq-request
This (re-)adds the ability to get data via a request/reply socket. See afcb7b568947c for when it was removed.
Diffstat (limited to 'src/im-zmq.h')
-rw-r--r--src/im-zmq.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/im-zmq.h b/src/im-zmq.h
index 9cc36b48..557f42e3 100644
--- a/src/im-zmq.h
+++ b/src/im-zmq.h
@@ -40,7 +40,8 @@
extern struct im_zmq *im_zmq_connect(const char *zmq_address,
char **subscriptions,
- int n_subscriptions);
+ int n_subscriptions,
+ const char *zmq_request);
extern void im_zmq_shutdown(struct im_zmq *z);
extern void *im_zmq_fetch(struct im_zmq *z, size_t *pdata_size);
@@ -48,7 +49,8 @@ extern void *im_zmq_fetch(struct im_zmq *z, size_t *pdata_size);
static UNUSED struct im_zmq *im_zmq_connect(const char *zmq_address,
char *zmq_subscriptions,
- int n_subscriptions) { return NULL; }
+ int n_subscriptions,
+ const char *zmq_request) { 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; }