1/* SPDX-License-Identifier: LGPL-2.1-only */ 2/* 3 * Copyright (c) 2008-2011 Thomas Graf <[email protected]> 4 */ 5 6#ifndef NETLINK_VERSION_H_ 7#define NETLINK_VERSION_H_ 8 9/* Compile Time Versioning Information */ 10 11#ifdef __cplusplus 12extern "C" { 13#endif 14 15#define LIBNL_STRING "@PACKAGE_STRING@" 16#define LIBNL_VERSION "@PACKAGE_VERSION@" 17 18#define LIBNL_VER_MAJ @MAJ_VERSION@ 19#define LIBNL_VER_MIN @MIN_VERSION@ 20#define LIBNL_VER_MIC @MIC_VERSION@ 21#define LIBNL_VER(maj,min) ((maj) << 8 | (min)) 22#define LIBNL_VER_NUM LIBNL_VER(LIBNL_VER_MAJ, LIBNL_VER_MIN) 23 24#define LIBNL_CURRENT @LT_CURRENT@ 25#define LIBNL_REVISION @LT_REVISION@ 26#define LIBNL_AGE @LT_AGE@ 27 28/* Run-time version information */ 29 30extern const int nl_ver_num; 31extern const int nl_ver_maj; 32extern const int nl_ver_min; 33extern const int nl_ver_mic; 34 35#ifdef __cplusplus 36} 37#endif 38 39#endif 40