diff options
author | Martin Lucina <martin@lucina.net> | 2012-02-22 03:39:03 +0100 |
---|---|---|
committer | Martin Lucina <martin@lucina.net> | 2012-02-22 03:39:03 +0100 |
commit | a54c50aca6ec301d7e003334581843203780101b (patch) | |
tree | 6f293167656b70c04591ae09aca4ca32d80dde72 | |
parent | 80ff947f1406e1d33b80de4f2378db8e6d13bc58 (diff) |
Add zmq_version() to libxszmq
Signed-off-by: Martin Lucina <martin@lucina.net>
-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 (); |