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