2 * netlink/version.h Versioning Information
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation version 2.1
9 * Copyright (c) 2008-2011 Thomas Graf <tgraf@suug.ch>
12 #ifndef NETLINK_VERSION_H_
13 #define NETLINK_VERSION_H_
15 /* Compile Time Versioning Information */
17 #define LIBNL_STRING "@PACKAGE_STRING@"
18 #define LIBNL_VERSION "@PACKAGE_VERSION@"
20 #define LIBNL_VER_MAJ @MAJ_VERSION@
21 #define LIBNL_VER_MIN @MIN_VERSION@
22 #define LIBNL_VER_MIC @MIC_VERSION@
23 #define LIBNL_VER(maj,min) ((maj) << 8 | (min))
24 #define LIBNL_VER_NUM LIBNL_VER(LIBNL_VER_MAJ, LIBNL_VER_MIN)
26 #define LIBNL_CURRENT @LT_CURRENT@
27 #define LIBNL_REVISION @LT_REVISION@
28 #define LIBNL_AGE @LT_AGE@
30 /* Run-time version information */
32 extern const int nl_ver_num;
33 extern const int nl_ver_maj;
34 extern const int nl_ver_min;
35 extern const int nl_ver_mic;