| /* SPDX-License-Identifier: LGPL-2.1-only */ |
| /* |
| * Copyright (c) 2008-2011 Thomas Graf <[email protected]> |
| */ |
| |
| #ifndef NETLINK_VERSION_H_ |
| #define NETLINK_VERSION_H_ |
| |
| /* Compile Time Versioning Information */ |
| |
| #ifdef __cplusplus |
| extern "C" { |
| #endif |
| |
| #define LIBNL_STRING "@PACKAGE_STRING@" |
| #define LIBNL_VERSION "@PACKAGE_VERSION@" |
| |
| #define LIBNL_VER_MAJ @MAJ_VERSION@ |
| #define LIBNL_VER_MIN @MIN_VERSION@ |
| #define LIBNL_VER_MIC @MIC_VERSION@ |
| #define LIBNL_VER(maj,min) ((maj) << 8 | (min)) |
| #define LIBNL_VER_NUM LIBNL_VER(LIBNL_VER_MAJ, LIBNL_VER_MIN) |
| |
| #define LIBNL_CURRENT @LT_CURRENT@ |
| #define LIBNL_REVISION @LT_REVISION@ |
| #define LIBNL_AGE @LT_AGE@ |
| |
| /* Run-time version information */ |
| |
| extern const int nl_ver_num; |
| extern const int nl_ver_maj; |
| extern const int nl_ver_min; |
| extern const int nl_ver_mic; |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| |
| #endif |