|
duvc-ctl 2.0.0
USB Video Class Camera Control Library
|
ABI versioning and build information for duvc-ctl C API. More...
#include <cstdint>Go to the source code of this file.
Macros | |
| #define | DUVC_ABI_VERSION_MAJOR 2 |
| Major version number. | |
| #define | DUVC_ABI_VERSION_MINOR 0 |
| Minor version number. | |
| #define | DUVC_ABI_VERSION_PATCH 0 |
| Patch version number. | |
| #define | DUVC_ABI_VERSION |
| Combined version number as integer. | |
| #define | DUVC_ABI_VERSION_STRING "2.0.0" |
| Version string in semantic versioning format. | |
Functions | |
| uint32_t | duvc_get_version (void) |
| Get runtime library version. | |
| const char * | duvc_get_version_string (void) |
| Get runtime library version string. | |
| int | duvc_check_abi_compatibility (uint32_t compiled_version) |
| Check ABI compatibility. | |
ABI versioning and build information for duvc-ctl C API.
Definition in file version.h.
| #define DUVC_ABI_VERSION |
Combined version number as integer.
Format: (major << 16) | (minor << 8) | patch Useful for numeric version comparisons.
| #define DUVC_ABI_VERSION_MAJOR 2 |
| #define DUVC_ABI_VERSION_MINOR 0 |
| #define DUVC_ABI_VERSION_PATCH 0 |
| #define DUVC_ABI_VERSION_STRING "2.0.0" |
| int duvc_check_abi_compatibility | ( | uint32_t | compiled_version | ) |
Check ABI compatibility.
Verifies that the runtime library is compatible with the version this application was compiled against.
| compiled_version | Version the application was compiled with (use DUVC_ABI_VERSION) |
| compiled_version | Version the application was compiled with (use DUVC_ABI_VERSION) |
| uint32_t duvc_get_version | ( | void | ) |
Get runtime library version.
Get runtime library version.
Definition at line 234 of file api.cpp.
Referenced by duvc_check_abi_compatibility().
| const char * duvc_get_version_string | ( | void | ) |
Get runtime library version string.
Get runtime library version string.