mbed TLS v1.3.16
version.h
Go to the documentation of this file.
1 
24 /*
25  * This set of compile-time defines and run-time variables can be used to
26  * determine the version number of the mbed TLS library used.
27  */
28 #ifndef POLARSSL_VERSION_H
29 #define POLARSSL_VERSION_H
30 
31 #if !defined(POLARSSL_CONFIG_FILE)
32 #include "config.h"
33 #else
34 #include POLARSSL_CONFIG_FILE
35 #endif
36 
41 #define POLARSSL_VERSION_MAJOR 1
42 #define POLARSSL_VERSION_MINOR 3
43 #define POLARSSL_VERSION_PATCH 16
44 
50 #define POLARSSL_VERSION_NUMBER 0x01031000
51 #define POLARSSL_VERSION_STRING "1.3.16"
52 #define POLARSSL_VERSION_STRING_FULL "mbed TLS 1.3.16"
53 
54 #if defined(POLARSSL_VERSION_C)
55 
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59 
66 unsigned int version_get_number( void );
67 
74 void version_get_string( char *string );
75 
85 void version_get_string_full( char *string );
86 
103 int version_check_feature( const char *feature );
104 
105 #ifdef __cplusplus
106 }
107 #endif
108 
109 #endif /* POLARSSL_VERSION_C */
110 
111 #endif /* version.h */
Configuration options (set of defines)
int version_check_feature(const char *feature)
Check if support for a feature was compiled into this mbed TLS binary.
unsigned int version_get_number(void)
Get the version number.
void version_get_string(char *string)
Get the version string ("x.y.z").
void version_get_string_full(char *string)
Get the full version string ("mbed TLS x.y.z").