SPDK version number definitions. More...
Macros | |
#define | SPDK_VERSION_MAJOR 24 |
Major version number (year of original release minus 2000). | |
#define | SPDK_VERSION_MINOR 9 |
Minor version number (month of original release). | |
#define | SPDK_VERSION_PATCH 0 |
Patch level. | |
#define | SPDK_VERSION_SUFFIX "-pre" |
Version string suffix. | |
#define | SPDK_VERSION_NUM(major, minor, patch) (((major) * 100 + (minor)) * 100 + (patch)) |
Single numeric value representing a version number for compile-time comparisons. | |
#define | SPDK_VERSION SPDK_VERSION_NUM(SPDK_VERSION_MAJOR, SPDK_VERSION_MINOR, SPDK_VERSION_PATCH) |
Current version as a SPDK_VERSION_NUM. | |
#define | SPDK_VERSION_STRINGIFY_x(x) #x |
#define | SPDK_VERSION_STRINGIFY(x) SPDK_VERSION_STRINGIFY_x(x) |
#define | SPDK_VERSION_MAJOR_STRING SPDK_VERSION_STRINGIFY(SPDK_VERSION_MAJOR) |
#define | SPDK_VERSION_MINOR_STRING ".0" SPDK_VERSION_STRINGIFY(SPDK_VERSION_MINOR) |
#define | SPDK_VERSION_PATCH_STRING "" |
#define | SPDK_GIT_COMMIT_STRING "" |
#define | SPDK_GIT_COMMIT_STRING_SHA1 "" |
#define | SPDK_VERSION_STRING |
Human-readable version string. | |
SPDK version number definitions.
#define SPDK_VERSION_NUM | ( | major, | |
minor, | |||
patch ) (((major) * 100 + (minor)) * 100 + (patch)) |
Single numeric value representing a version number for compile-time comparisons.
Example usage:
#define SPDK_VERSION_PATCH 0 |
Patch level.
Patch level is incremented on maintenance branch releases and reset to 0 for each new major.minor release.
#define SPDK_VERSION_STRING |
Human-readable version string.