2008-04-30 15:43:42 +02:00
|
|
|
/*
|
2012-08-29 22:55:14 +06:00
|
|
|
* netlink/version.h Versioning Information
|
2008-04-30 15:43:42 +02:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation version 2.1
|
|
|
|
* of the License.
|
|
|
|
*
|
2011-03-16 13:46:41 +01:00
|
|
|
* Copyright (c) 2008-2011 Thomas Graf <tgraf@suug.ch>
|
2008-04-30 15:43:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NETLINK_VERSION_H_
|
|
|
|
#define NETLINK_VERSION_H_
|
|
|
|
|
2012-08-29 22:55:14 +06:00
|
|
|
/* Compile Time Versioning Information */
|
|
|
|
|
2008-04-30 18:52:28 +02:00
|
|
|
#define LIBNL_STRING "@PACKAGE_STRING@"
|
|
|
|
#define LIBNL_VERSION "@PACKAGE_VERSION@"
|
2008-04-30 15:43:42 +02:00
|
|
|
|
2011-03-16 13:46:41 +01:00
|
|
|
#define LIBNL_VER_MAJ @MAJ_VERSION@
|
|
|
|
#define LIBNL_VER_MIN @MIN_VERSION@
|
2011-09-19 11:28:20 +02:00
|
|
|
#define LIBNL_VER_MIC @MIC_VERSION@
|
2011-03-16 13:46:41 +01:00
|
|
|
#define LIBNL_VER(maj,min) ((maj) << 8 | (min))
|
|
|
|
#define LIBNL_VER_NUM LIBNL_VER(LIBNL_VER_MAJ, LIBNL_VER_MIN)
|
|
|
|
|
2011-09-13 22:58:08 +02:00
|
|
|
#define LIBNL_CURRENT @LT_CURRENT@
|
|
|
|
#define LIBNL_REVISION @LT_REVISION@
|
|
|
|
#define LIBNL_AGE @LT_AGE@
|
|
|
|
|
2012-08-29 22:55:14 +06:00
|
|
|
/* 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;
|
|
|
|
|
2008-04-30 15:43:42 +02:00
|
|
|
#endif
|