version.hpp File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NFD_VERSION   24007000
 NFD version represented as an integer. More...
 
#define NFD_VERSION_MAJOR   24
 The major version of NFD. More...
 
#define NFD_VERSION_MINOR   7
 The minor version of NFD. More...
 
#define NFD_VERSION_PATCH   0
 The patch version of NFD. More...
 

Variables

const char NFD_VERSION_BUILD_STRING []
 NFD version string, including git commit information if NFD is build from a specific git commit. More...
 
const char NFD_VERSION_STRING []
 NFD version represented as a string. More...
 

Macro Definition Documentation

◆ NFD_VERSION

#define NFD_VERSION   24007000

NFD version represented as an integer.

Equivalent to: NFD_VERSION_MAJOR*1000000 + NFD_VERSION_MINOR*1000 + NFD_VERSION_PATCH

Definition at line 40 of file version.hpp.

◆ NFD_VERSION_MAJOR

#define NFD_VERSION_MAJOR   24

The major version of NFD.

Definition at line 43 of file version.hpp.

◆ NFD_VERSION_MINOR

#define NFD_VERSION_MINOR   7

The minor version of NFD.

Definition at line 45 of file version.hpp.

◆ NFD_VERSION_PATCH

#define NFD_VERSION_PATCH   0

The patch version of NFD.

Definition at line 47 of file version.hpp.

Variable Documentation

◆ NFD_VERSION_BUILD_STRING

const char NFD_VERSION_BUILD_STRING[]
extern

NFD version string, including git commit information if NFD is build from a specific git commit.

NFD_VERSION_BUILD_STRING is obtained using the following command (NFD- prefix is afterwards removed): git describe --match 'NFD-*'

When NFD is not built from git, NFD_VERSION_BUILD_STRING equals NFD_VERSION_STRING.

Format:

MAJOR.MINOR(.PATCH)(-release-candidate-tag)(-(number-of-commits-since-tag)-COMMIT-HASH)

Example: 2022.02-1-g5c86570

◆ NFD_VERSION_STRING

const char NFD_VERSION_STRING[]
extern

NFD version represented as a string.

Format:

MAJOR.MINOR.PATCH