version.h 715 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef sodium_version_H
  2. #define sodium_version_H
  3. #include <sodium/export.h>
  4. /* IMPORTANT: As we don't use autotools, these version are not automatically
  5. updated if we change submodules. They need to be changed manually.
  6. */
  7. #define SODIUM_VERSION_STRING "1.0.12-idf"
  8. /* Note: these are not the same as the overall version, see
  9. configure.ac for the relevant macros */
  10. #define SODIUM_LIBRARY_VERSION_MAJOR 9
  11. #define SODIUM_LIBRARY_VERSION_MINOR 4
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. SODIUM_EXPORT
  16. const char *sodium_version_string(void);
  17. SODIUM_EXPORT
  18. int sodium_library_version_major(void);
  19. SODIUM_EXPORT
  20. int sodium_library_version_minor(void);
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif