version.h 832 B

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