mbed TLS v2.2.0
version.h
Go to the documentation of this file.
1 
23 /*
24  * This set of compile-time defines and run-time variables can be used to
25  * determine the version number of the mbed TLS library used.
26  */
27 #ifndef MBEDTLS_VERSION_H
28 #define MBEDTLS_VERSION_H
29 
30 #if !defined(MBEDTLS_CONFIG_FILE)
31 #include "config.h"
32 #else
33 #include MBEDTLS_CONFIG_FILE
34 #endif
35 
40 #define MBEDTLS_VERSION_MAJOR 2
41 #define MBEDTLS_VERSION_MINOR 2
42 #define MBEDTLS_VERSION_PATCH 0
43 
49 #define MBEDTLS_VERSION_NUMBER 0x02020000
50 #define MBEDTLS_VERSION_STRING "2.2.0"
51 #define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.2.0"
52 
53 #if defined(MBEDTLS_VERSION_C)
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58 
65 unsigned int mbedtls_version_get_number( void );
66 
73 void mbedtls_version_get_string( char *string );
74 
84 void mbedtls_version_get_string_full( char *string );
85 
103 int mbedtls_version_check_feature( const char *feature );
104 
105 #ifdef __cplusplus
106 }
107 #endif
108 
109 #endif /* MBEDTLS_VERSION_C */
110 
111 #endif /* version.h */
Compatibility names (set of defines)