xref: /aosp_15_r20/external/libnl/include/netlink/version.h (revision 4dc78e53d49367fa8e61b07018507c90983a077d)
1*4dc78e53SAndroid Build Coastguard Worker /*
2*4dc78e53SAndroid Build Coastguard Worker  * netlink/version.h	Versioning Information
3*4dc78e53SAndroid Build Coastguard Worker  *
4*4dc78e53SAndroid Build Coastguard Worker  *	This library is free software; you can redistribute it and/or
5*4dc78e53SAndroid Build Coastguard Worker  *	modify it under the terms of the GNU Lesser General Public
6*4dc78e53SAndroid Build Coastguard Worker  *	License as published by the Free Software Foundation version 2.1
7*4dc78e53SAndroid Build Coastguard Worker  *	of the License.
8*4dc78e53SAndroid Build Coastguard Worker  *
9*4dc78e53SAndroid Build Coastguard Worker  * Copyright (c) 2008-2011 Thomas Graf <[email protected]>
10*4dc78e53SAndroid Build Coastguard Worker  */
11*4dc78e53SAndroid Build Coastguard Worker 
12*4dc78e53SAndroid Build Coastguard Worker #ifndef NETLINK_VERSION_H_
13*4dc78e53SAndroid Build Coastguard Worker #define NETLINK_VERSION_H_
14*4dc78e53SAndroid Build Coastguard Worker 
15*4dc78e53SAndroid Build Coastguard Worker /* Compile Time Versioning Information */
16*4dc78e53SAndroid Build Coastguard Worker 
17*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_STRING "libnl 3.5.0"
18*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_VERSION "3.5.0"
19*4dc78e53SAndroid Build Coastguard Worker 
20*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_VER_MAJ		3
21*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_VER_MIN		5
22*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_VER_MIC		0
23*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_VER(maj,min)	((maj) << 8 | (min))
24*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_VER_NUM		LIBNL_VER(LIBNL_VER_MAJ, LIBNL_VER_MIN)
25*4dc78e53SAndroid Build Coastguard Worker 
26*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_CURRENT		226
27*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_REVISION		0
28*4dc78e53SAndroid Build Coastguard Worker #define LIBNL_AGE		26
29*4dc78e53SAndroid Build Coastguard Worker 
30*4dc78e53SAndroid Build Coastguard Worker /* Run-time version information */
31*4dc78e53SAndroid Build Coastguard Worker 
32*4dc78e53SAndroid Build Coastguard Worker extern const int        nl_ver_num;
33*4dc78e53SAndroid Build Coastguard Worker extern const int        nl_ver_maj;
34*4dc78e53SAndroid Build Coastguard Worker extern const int        nl_ver_min;
35*4dc78e53SAndroid Build Coastguard Worker extern const int        nl_ver_mic;
36*4dc78e53SAndroid Build Coastguard Worker 
37*4dc78e53SAndroid Build Coastguard Worker #endif
38