diff options
Diffstat (limited to 'src/xszmq.c')
-rw-r--r-- | src/xszmq.c | 7 |
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 (); |