duvc-ctl 2.0.0
USB Video Class Camera Control Library
Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
1#pragma once
2#include <cstdint>
3
9#ifdef __cplusplus
10extern "C" {
11#endif
12
19#define DUVC_ABI_VERSION_MAJOR 2
20
27#define DUVC_ABI_VERSION_MINOR 0
28
35#define DUVC_ABI_VERSION_PATCH 0
36
43#define DUVC_ABI_VERSION \
44 ((DUVC_ABI_VERSION_MAJOR << 16) | (DUVC_ABI_VERSION_MINOR << 8) | \
45 DUVC_ABI_VERSION_PATCH)
46
50#define DUVC_ABI_VERSION_STRING "2.0.0"
51
57uint32_t duvc_get_version(void);
58
65const char *duvc_get_version_string(void);
66
77int duvc_check_abi_compatibility(uint32_t compiled_version);
78
79#ifdef __cplusplus
80}
81#endif
const char * duvc_get_version_string(void)
Get runtime library version string.
Definition api.cpp:236
uint32_t duvc_get_version(void)
Get runtime library version.
Definition api.cpp:234
int duvc_check_abi_compatibility(uint32_t compiled_version)
Check ABI compatibility.
Definition api.cpp:238