summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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;