Mbed TLS v2.28.8
include
mbedtls
version.h
Go to the documentation of this file.
1
6
/*
7
* Copyright The Mbed TLS Contributors
8
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9
*/
10
/*
11
* This set of compile-time defines and run-time variables can be used to
12
* determine the version number of the Mbed TLS library used.
13
*/
14
#ifndef MBEDTLS_VERSION_H
15
#define MBEDTLS_VERSION_H
16
17
#if !defined(MBEDTLS_CONFIG_FILE)
18
#include "
mbedtls/config.h
"
19
#else
20
#include MBEDTLS_CONFIG_FILE
21
#endif
22
27
#define MBEDTLS_VERSION_MAJOR 2
28
#define MBEDTLS_VERSION_MINOR 28
29
#define MBEDTLS_VERSION_PATCH 8
30
36
#define MBEDTLS_VERSION_NUMBER 0x021C0800
37
#define MBEDTLS_VERSION_STRING "2.28.8"
38
#define MBEDTLS_VERSION_STRING_FULL "Mbed TLS 2.28.8"
39
40
#if defined(MBEDTLS_VERSION_C)
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
52
unsigned
int
mbedtls_version_get_number
(
void
);
53
60
void
mbedtls_version_get_string
(
char
*
string
);
61
71
void
mbedtls_version_get_string_full
(
char
*
string
);
72
90
int
mbedtls_version_check_feature
(
const
char
*feature);
91
92
#ifdef __cplusplus
93
}
94
#endif
95
96
#endif
/* MBEDTLS_VERSION_C */
97
98
#endif
/* version.h */
mbedtls_version_get_number
unsigned int mbedtls_version_get_number(void)
mbedtls_version_check_feature
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...
mbedtls_version_get_string_full
void mbedtls_version_get_string_full(char *string)
config.h
Configuration options (set of defines)
mbedtls_version_get_string
void mbedtls_version_get_string(char *string)
Generated on Wed Apr 24 2024 20:07:29 for Mbed TLS v2.28.8 by
1.8.17