summaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-09-14 11:25:57 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-09-14 11:25:57 +0200
commitc806aabb2d3e6b1ba9e3f61319f23d45c7f9a007 (patch)
treefb44aa2fba39f972b5d04eba7cda7dc310d4b188 /c
parent36707529a7d82b164b59d42fe0d5d8a35c3dd279 (diff)
java binding sets socket options using setsockopt function
Diffstat (limited to 'c')
-rw-r--r--c/zmq.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/c/zmq.h b/c/zmq.h
index 4ba8450..d2ca20a 100644
--- a/c/zmq.h
+++ b/c/zmq.h
@@ -44,16 +44,15 @@ extern "C" {
#define ZMQ_VSM 32
// Socket options.
-#define ZMQ_HWM 1
-#define ZMQ_LWM 2
-#define ZMQ_SWAP 3
-#define ZMQ_MASK 4
-#define ZMQ_AFFINITY 5
-#define ZMQ_IDENTITY 6
-#define ZMQ_SUBSCRIBE 7
-#define ZMQ_UNSUBSCRIBE 8
-#define ZMQ_RATE 9
-#define ZMQ_RECOVERY_IVL 10
+#define ZMQ_HWM 1 // int64_t
+#define ZMQ_LWM 2 // int64_t
+#define ZMQ_SWAP 3 // int64_t
+#define ZMQ_AFFINITY 4 // int64_t
+#define ZMQ_IDENTITY 5 // string
+#define ZMQ_SUBSCRIBE 6 // string
+#define ZMQ_UNSUBSCRIBE 7 // string
+#define ZMQ_RATE 8 // int64_t
+#define ZMQ_RECOVERY_IVL 9 // int64_t
// The operation should be performed in non-blocking mode. I.e. if it cannot
// be processed immediately, error should be returned with errno set to EAGAIN.