summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-04-09 13:04:15 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-04-09 13:04:15 +0200
commit716f4ac8714d33d21f9853f58482e35c1e3ad934 (patch)
treeb946ca53b7c8457acf8a362a56411e80c4680380 /include
parent027bb1d2a7c83c7c719f6bdc3100eb639019d2f0 (diff)
zmq_getsockopt function added
Diffstat (limited to 'include')
-rw-r--r--include/zmq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zmq.h b/include/zmq.h
index 3d641ef..e2b5436 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -187,6 +187,8 @@ ZMQ_EXPORT void *zmq_socket (void *context, int type);
ZMQ_EXPORT int zmq_close (void *s);
ZMQ_EXPORT int zmq_setsockopt (void *s, int option, const void *optval,
size_t optvallen);
+ZMQ_EXPORT int zmq_getsockopt (void *s, int option, void *optval,
+ size_t *optvallen);
ZMQ_EXPORT int zmq_bind (void *s, const char *addr);
ZMQ_EXPORT int zmq_connect (void *s, const char *addr);
ZMQ_EXPORT int zmq_send (void *s, zmq_msg_t *msg, int flags);