diff --git a/libsodium/.gitignore b/libsodium/.gitignore index c9fbdfe4..6241bde2 100644 --- a/libsodium/.gitignore +++ b/libsodium/.gitignore @@ -48,7 +48,6 @@ src/curvecp/curvecpmessage src/curvecp/curvecpprintkey src/curvecp/curvecpserver src/libsodium/*.def -src/libsodium/include/sodium/version.h stamp-* test/default/*.res test/default/*.trs diff --git a/libsodium/src/libsodium/include/sodium/version.h b/libsodium/src/libsodium/include/sodium/version.h new file mode 100644 index 00000000..3bd0cba6 --- /dev/null +++ b/libsodium/src/libsodium/include/sodium/version.h @@ -0,0 +1,29 @@ + +#ifndef sodium_version_H +#define sodium_version_H + +#include "export.h" + +#define SODIUM_VERSION_STRING "1.0.1" + +#define SODIUM_LIBRARY_VERSION_MAJOR 7 +#define SODIUM_LIBRARY_VERSION_MINOR 3 + +#ifdef __cplusplus +extern "C" { +#endif + +SODIUM_EXPORT +const char *sodium_version_string(void); + +SODIUM_EXPORT +int sodium_library_version_major(void); + +SODIUM_EXPORT +int sodium_library_version_minor(void); + +#ifdef __cplusplus +} +#endif + +#endif