Mbed TLS v3.5.0
version.h
Go to the documentation of this file.
1
6/*
7 * Copyright The Mbed TLS Contributors
8 * SPDX-License-Identifier: Apache-2.0
9 *
10 * Licensed under the Apache License, Version 2.0 (the "License"); you may
11 * not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 */
22/*
23 * This set of run-time variables can be used to determine the version number of
24 * the Mbed TLS library used. Compile-time version defines for the same can be
25 * found in build_info.h
26 */
27#ifndef MBEDTLS_VERSION_H
28#define MBEDTLS_VERSION_H
29
30#include "mbedtls/build_info.h"
31
32#if defined(MBEDTLS_VERSION_C)
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
44unsigned int mbedtls_version_get_number(void);
45
52void mbedtls_version_get_string(char *string);
53
64
82int mbedtls_version_check_feature(const char *feature);
83
84#ifdef __cplusplus
85}
86#endif
87
88#endif /* MBEDTLS_VERSION_C */
89
90#endif /* version.h */
Build-time configuration info.
unsigned int mbedtls_version_get_number(void)
void mbedtls_version_get_string_full(char *string)
void mbedtls_version_get_string(char *string)
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...