diff options
author | Jon Dyte <jon@totient.co.uk> | 2010-04-07 08:20:01 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-04-07 08:20:01 +0200 |
commit | edfd05df8ef58afc498795cb74906c07ee396f76 (patch) | |
tree | 8b9eb27265ffc16a170cfab8b912279c02dfd00f /include/zmq.h | |
parent | 0777567e8911382ac42859f907730df023ebec26 (diff) |
devices can be created via API
Diffstat (limited to 'include/zmq.h')
-rw-r--r-- | include/zmq.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/zmq.h b/include/zmq.h index a1fcf31..3d641ef 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -225,6 +225,16 @@ ZMQ_EXPORT int zmq_poll (zmq_pollitem_t *items, int nitems, long timeout); ZMQ_EXPORT int zmq_errno (); //////////////////////////////////////////////////////////////////////////////// +// Devices - Experimental +//////////////////////////////////////////////////////////////////////////////// + +#define ZMQ_STREAMER 1 +#define ZMQ_FORWARDER 2 +#define ZMQ_QUEUE 3 + +ZMQ_EXPORT int zmq_device (int device, void * insocket, void* outsocket); + +//////////////////////////////////////////////////////////////////////////////// // Helper functions. //////////////////////////////////////////////////////////////////////////////// |