#include <stddef.h>
#include <doca_compat.h>
Go to the source code of this file.
|
| #define | DOCA_VERSION_MAJOR 3 |
| | Major version number 0-255. More...
|
| |
| #define | DOCA_VERSION_MINOR 0 |
| | Minor version number 0-255. More...
|
| |
| #define | DOCA_VERSION_PATCH 58 |
| | Patch version number 0-9999. More...
|
| |
| #define | DOCA_VERSION_STRING "3.0.0058" |
| | DOCA Version String. More...
|
| |
| #define | DOCA_VERSION_CALC_EXACT(major, minor, patch) ((size_t)((major) << 24 | (minor) << 16 | (patch))) |
| | Macro to calculate exact version number for comparisons. More...
|
| |
| #define | DOCA_VERSION_EXACT DOCA_VERSION_CALC_EXACT(DOCA_VERSION_MAJOR, DOCA_VERSION_MINOR, DOCA_VERSION_PATCH) |
| | Macro of current exact version number. More...
|
| |
| #define | DOCA_VERSION_CALC(major, minor, patch) ((size_t)((major) << 24 | (minor) << 16 | (patch * 1000))) |
| | Macro to calculate official version number for comparisons. More...
|
| |
| #define | DOCA_VERSION_OFFICIAL DOCA_VERSION_CALC(DOCA_VERSION_MAJOR, DOCA_VERSION_MINOR, DOCA_VERSION_PATCH) |
| | Macro of current official version number. More...
|
| |
| #define | DOCA_VERSION_EQ_CURRENT(major, minor, patch) (DOCA_VERSION_CALC(major, minor, patch) == DOCA_VERSION_OFFICIAL) |
| | Check if the specified version is equal to the current official version. More...
|
| |
| #define | DOCA_VERSION_LTE_CURRENT(major, minor, patch) (DOCA_VERSION_CALC(major, minor, patch) <= DOCA_VERSION_OFFICIAL) |
| | Check if the specified version is less then or equal to current official version. More...
|
| |