00001
00023
00024
00025
00026
00027 #ifndef MBEDTLS_VERSION_H
00028 #define MBEDTLS_VERSION_H
00029
00030 #if !defined(MBEDTLS_CONFIG_FILE)
00031 #include "config.h"
00032 #else
00033 #include MBEDTLS_CONFIG_FILE
00034 #endif
00035
00040 #define MBEDTLS_VERSION_MAJOR 2
00041 #define MBEDTLS_VERSION_MINOR 4
00042 #define MBEDTLS_VERSION_PATCH 2
00043
00049 #define MBEDTLS_VERSION_NUMBER 0x02040200
00050 #define MBEDTLS_VERSION_STRING "2.4.2"
00051 #define MBEDTLS_VERSION_STRING_FULL "mbed TLS 2.4.2"
00052
00053 #if defined(MBEDTLS_VERSION_C)
00054
00055 #ifdef __cplusplus
00056 extern "C" {
00057 #endif
00058
00065 unsigned int mbedtls_version_get_number( void );
00066
00073 void mbedtls_version_get_string( char *string );
00074
00084 void mbedtls_version_get_string_full( char *string );
00085
00103 int mbedtls_version_check_feature( const char *feature );
00104
00105 #ifdef __cplusplus
00106 }
00107 #endif
00108
00109 #endif
00110
00111 #endif