summaryrefslogtreecommitdiff
path: root/src/libsodium/sodium/version.c
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2014-08-11 13:49:21 -0400
committerMicah Anderson <micah@riseup.net>2014-08-11 13:49:21 -0400
commit2e59f9740a29439df7c7a56cf0ae83dec3081d31 (patch)
treed5e7c4e74c9a0f1ea999327d2e68b1dd27be00e0 /src/libsodium/sodium/version.c
initial import of debian version from mentors0.6.1
Diffstat (limited to 'src/libsodium/sodium/version.c')
-rw-r--r--src/libsodium/sodium/version.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/libsodium/sodium/version.c b/src/libsodium/sodium/version.c
new file mode 100644
index 0000000..4083c81
--- /dev/null
+++ b/src/libsodium/sodium/version.c
@@ -0,0 +1,20 @@
+
+#include "version.h"
+
+const char *
+sodium_version_string(void)
+{
+ return SODIUM_VERSION_STRING;
+}
+
+int
+sodium_library_version_major(void)
+{
+ return SODIUM_LIBRARY_VERSION_MAJOR;
+}
+
+int
+sodium_library_version_minor(void)
+{
+ return SODIUM_LIBRARY_VERSION_MINOR;
+}