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