Botan 3.9.0
Crypto and TLS for C&
Build version information

Macros

#define BOTAN_DISTRIBUTION_INFO   "unspecified"
#define BOTAN_VERSION_DATESTAMP   0
#define BOTAN_VERSION_MAJOR   3
#define BOTAN_VERSION_MINOR   9
#define BOTAN_VERSION_PATCH   0
#define BOTAN_VERSION_RELEASE_TYPE   "unreleased"
#define BOTAN_VERSION_VC_REVISION   "unknown"

Detailed Description

Macro Definition Documentation

◆ BOTAN_DISTRIBUTION_INFO

#define BOTAN_DISTRIBUTION_INFO   "unspecified"

A macro expanding to a string that is set at build time using the --distribution-info option. It allows a packager of the library to specify any distribution-specific patches. If no value is given at build time, the value is the string "unspecified".

This macro is deprecated; use version_distribution_info from version.h

TODO(Botan4) remove this

Definition at line 77 of file build.h.

◆ BOTAN_VERSION_DATESTAMP

#define BOTAN_VERSION_DATESTAMP   0

Expands to an integer of the form YYYYMMDD if this is an official release, or 0 otherwise. For instance, 2.19.0, which was released on January 19, 2022, has a BOTAN_VERSION_DATESTAMP of 20220119.

This macro is deprecated; use version_datestamp from version.h

TODO(Botan4) remove this

Definition at line 45 of file build.h.

Referenced by Botan::version_datestamp().

◆ BOTAN_VERSION_MAJOR

#define BOTAN_VERSION_MAJOR   3

The major version of the release

Definition at line 24 of file build.h.

Referenced by Botan::version_major().

◆ BOTAN_VERSION_MINOR

#define BOTAN_VERSION_MINOR   9

The minor version of the release

Definition at line 29 of file build.h.

Referenced by Botan::version_minor().

◆ BOTAN_VERSION_PATCH

#define BOTAN_VERSION_PATCH   0

The patch version of the release

Definition at line 34 of file build.h.

Referenced by Botan::version_patch().

◆ BOTAN_VERSION_RELEASE_TYPE

#define BOTAN_VERSION_RELEASE_TYPE   "unreleased"

A string set to the release type

This macro is deprecated

TODO(Botan4) remove this

Definition at line 54 of file build.h.

◆ BOTAN_VERSION_VC_REVISION

#define BOTAN_VERSION_VC_REVISION   "unknown"

A macro expanding to a string that is set to a revision identifier corresponding to the source, or "unknown" if this could not be determined. It is set for all official releases.

This macro is deprecated; use version_vc_revision from version.h

TODO(Botan4) remove this

Definition at line 65 of file build.h.