summaryrefslogtreecommitdiff
path: root/src/xszmq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xszmq.c')
-rw-r--r--src/xszmq.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xszmq.c b/src/xszmq.c
index 3c8731a..d97d9ea 100644
--- a/src/xszmq.c
+++ b/src/xszmq.c
@@ -29,6 +29,13 @@
#include <stdlib.h>
#include <stdint.h>
+void zmq_version (int *major_, int *minor_, int *patch_)
+{
+ *major_ = ZMQ_VERSION_MAJOR;
+ *minor_ = ZMQ_VERSION_MINOR;
+ *patch_ = ZMQ_VERSION_PATCH;
+}
+
int zmq_errno ()
{
return xs_errno ();