summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/zmq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zmq.h b/include/zmq.h
index 0263b43..ac350d3 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -139,6 +139,8 @@ ZMQ_EXPORT int zmq_msg_move (zmq_msg_t *dest, zmq_msg_t *src);
ZMQ_EXPORT int zmq_msg_copy (zmq_msg_t *dest, zmq_msg_t *src);
ZMQ_EXPORT void *zmq_msg_data (zmq_msg_t *msg);
ZMQ_EXPORT size_t zmq_msg_size (zmq_msg_t *msg);
+ZMQ_EXPORT int zmq_getmsgopt (zmq_msg_t *msg, int option, void *optval,
+ size_t *optvallen);
/******************************************************************************/
/* 0MQ infrastructure (a.k.a. context) initialisation & termination. */
@@ -192,6 +194,9 @@ ZMQ_EXPORT int zmq_term (void *context);
#define ZMQ_SNDTIMEO 28
#define ZMQ_IPV4ONLY 31
+/* Message options */
+#define ZMQ_MORE 1
+
/* Send/recv options. */
#define ZMQ_DONTWAIT 1
#define ZMQ_SNDMORE 2