summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-03-23 17:44:16 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-03-23 17:44:16 +0100
commit941be8d2175332cb720f390f93d07a0870db8824 (patch)
tree79ed1c130c460901be85e9aeb0b584aa40be40ed /include
parentd4d184a750e2c09a39b95db9a54daf83aac5a446 (diff)
zmq_device removed
Devices are basically applications on top of 0MQ stack. They should reside in separate libraties. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'include')
-rw-r--r--include/zmq.h10
-rw-r--r--include/zmq.hpp7
2 files changed, 0 insertions, 17 deletions
diff --git a/include/zmq.h b/include/zmq.h
index e0e5653..6f8e766 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -241,16 +241,6 @@ typedef struct
ZMQ_EXPORT int zmq_poll (zmq_pollitem_t *items, int nitems, long timeout);
-/******************************************************************************/
-/* 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);
-
#undef ZMQ_EXPORT
#ifdef __cplusplus
diff --git a/include/zmq.hpp b/include/zmq.hpp
index 813535f..2189e81 100644
--- a/include/zmq.hpp
+++ b/include/zmq.hpp
@@ -62,13 +62,6 @@ namespace zmq
return rc;
}
- inline void device (int device_, void * insocket_, void* outsocket_)
- {
- int rc = zmq_device (device_, insocket_, outsocket_);
- if (rc != 0)
- throw error_t ();
- }
-
class message_t : private zmq_msg_t
{
friend class socket_t;