diff --git a/src/libsodium/include/sodium/version.h.in b/src/libsodium/include/sodium/version.h.in index b965fad9..ddc8cfd1 100644 --- a/src/libsodium/include/sodium/version.h.in +++ b/src/libsodium/include/sodium/version.h.in @@ -2,6 +2,8 @@ #ifndef __SODIUM_VERSION_H__ #define __SODIUM_VERSION_H__ +#include "export.h" + #define SODIUM_VERSION_STRING "@VERSION@" #define SODIUM_LIBRARY_VERSION_MAJOR @SODIUM_LIBRARY_VERSION_MAJOR@ @@ -11,8 +13,13 @@ 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