From 716f4ac8714d33d21f9853f58482e35c1e3ad934 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 9 Apr 2010 13:04:15 +0200 Subject: zmq_getsockopt function added --- include/zmq.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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); -- cgit v1.2.3