PolarSSL v1.3.9
version.h
Go to the documentation of this file.
1
27/*
28 * This set of compile-time defines and run-time variables can be used to
29 * determine the version number of the PolarSSL library used.
30 */
31#ifndef POLARSSL_VERSION_H
32#define POLARSSL_VERSION_H
33
34#if !defined(POLARSSL_CONFIG_FILE)
35#include "config.h"
36#else
37#include POLARSSL_CONFIG_FILE
38#endif
39
44#define POLARSSL_VERSION_MAJOR 1
45#define POLARSSL_VERSION_MINOR 3
46#define POLARSSL_VERSION_PATCH 9
47
53#define POLARSSL_VERSION_NUMBER 0x01030900
54#define POLARSSL_VERSION_STRING "1.3.9"
55#define POLARSSL_VERSION_STRING_FULL "PolarSSL 1.3.9"
56
57#if defined(POLARSSL_VERSION_C)
58
59#ifdef __cplusplus
60extern "C" {
61#endif
62
69unsigned int version_get_number( void );
70
77void version_get_string( char *string );
78
88void version_get_string_full( char *string );
89
106int version_check_feature( const char *feature );
107
108#ifdef __cplusplus
109}
110#endif
111
112#endif /* POLARSSL_VERSION_C */
113
114#endif /* version.h */
Configuration options (set of defines)
unsigned int version_get_number(void)
Get the version number.
int version_check_feature(const char *feature)
Check if support for a feature was compiled into this PolarSSL binary.
void version_get_string_full(char *string)
Get the full version string ("PolarSSL x.y.z").
void version_get_string(char *string)
Get the version string ("x.y.z").