mbed TLS v2.6.0
version.h
Go to the documentation of this file.
1 
25 /*
26  * This set of compile-time defines and run-time variables can be used to
27  * determine the version number of the mbed TLS library used.
28  */
29 #ifndef MBEDTLS_VERSION_H
30 #define MBEDTLS_VERSION_H
31 
32 #if !defined(MBEDTLS_CONFIG_FILE)
33 #include "config.h"
34 #else
35 #include MBEDTLS_CONFIG_FILE
36 #endif
37 
42 #define MBEDTLS_VERSION_MAJOR 2
43 #define MBEDTLS_VERSION_MINOR 6
44 #define MBEDTLS_VERSION_PATCH 0
45 
51 #define MBEDTLS_VERSION_NUMBER 0x02060000
52 #define MBEDTLS_VERSION_STRING "2.6.0"
53 #define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.6.0"
54 
55 #if defined(MBEDTLS_VERSION_C)
56 
57 #ifdef __cplusplus
58 extern "C" {
59 #endif
60 
67 unsigned int mbedtls_version_get_number( void );
68 
75 void mbedtls_version_get_string( char *string );
76 
86 void mbedtls_version_get_string_full( char *string );
87 
105 int mbedtls_version_check_feature( const char *feature );
106 
107 #ifdef __cplusplus
108 }
109 #endif
110 
111 #endif /* MBEDTLS_VERSION_C */
112 
113 #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").
Configuration options (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.