xref: /freebsd/sys/contrib/libsodium/src/libsodium/include/sodium/version.h.in (revision d3d381b2b194b4d24853e92eecef55f262688d1a)
1
2#ifndef sodium_version_H
3#define sodium_version_H
4
5#include "export.h"
6
7#define SODIUM_VERSION_STRING "@VERSION@"
8
9#define SODIUM_LIBRARY_VERSION_MAJOR @SODIUM_LIBRARY_VERSION_MAJOR@
10#define SODIUM_LIBRARY_VERSION_MINOR @SODIUM_LIBRARY_VERSION_MINOR@
11@SODIUM_LIBRARY_MINIMAL_DEF@
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17SODIUM_EXPORT
18const char *sodium_version_string(void);
19
20SODIUM_EXPORT
21int         sodium_library_version_major(void);
22
23SODIUM_EXPORT
24int         sodium_library_version_minor(void);
25
26SODIUM_EXPORT
27int         sodium_library_minimal(void);
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif
34