RetroArch
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 5
42 #define MBEDTLS_VERSION_PATCH 1
43 
49 #define MBEDTLS_VERSION_NUMBER 0x02050100
50 #define MBEDTLS_VERSION_STRING "2.5.1"
51 #define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.5.1"
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 */
void mbedtls_version_get_string_full(char *string)
Definition: version.c:44
Configuration options (set of defines)
int mbedtls_version_check_feature(const char *feature)
Check if support for a feature was compiled into this mbed TLS binary. This allows you to see at runt...
Definition: version_features.c:664
unsigned int mbedtls_version_get_number(void)
Definition: version.c:33
void mbedtls_version_get_string(char *string)
Definition: version.c:38