mbed TLS v2.0.0
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 MBEDTLS_VERSION_H
29 #define MBEDTLS_VERSION_H
30 
31 #if !defined(MBEDTLS_CONFIG_FILE)
32 #include "config.h"
33 #else
34 #include MBEDTLS_CONFIG_FILE
35 #endif
36 
41 #define MBEDTLS_VERSION_MAJOR 2
42 #define MBEDTLS_VERSION_MINOR 0
43 #define MBEDTLS_VERSION_PATCH 0
44 
50 #define MBEDTLS_VERSION_NUMBER 0x02000000
51 #define MBEDTLS_VERSION_STRING "2.0.0"
52 #define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.0.0"
53 
54 #if defined(MBEDTLS_VERSION_C)
55 
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59 
66 unsigned int mbedtls_version_get_number( void );
67 
74 void mbedtls_version_get_string( char *string );
75 
85 void mbedtls_version_get_string_full( char *string );
86 
104 int mbedtls_version_check_feature( const char *feature );
105 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif /* MBEDTLS_VERSION_C */
111 
112 #endif /* version.h */
void mbedtls_version_get_string_full(char *string)
Get the full version string ("mbed TLS x.y.z").
void mbedtls_version_get_string(char *string)
Get the version string ("x.y.z").
Compatibility names (set of defines)
unsigned int mbedtls_version_get_number(void)
Get the version number.
int mbedtls_version_check_feature(const char *feature)
Check if support for a feature was compiled into this mbed TLS binary.