Home | History | Annotate | Download | only in netlink
      1 /*
      2  * netlink/version.h	Versioning Information
      3  *
      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
      7  *	of the License.
      8  *
      9  * Copyright (c) 2008-2011 Thomas Graf <tgraf (at) suug.ch>
     10  */
     11 
     12 #ifndef NETLINK_VERSION_H_
     13 #define NETLINK_VERSION_H_
     14 
     15 /* Compile Time Versioning Information */
     16 
     17 #define LIBNL_STRING "@PACKAGE_STRING@"
     18 #define LIBNL_VERSION "@PACKAGE_VERSION@"
     19 
     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)
     25 
     26 #define LIBNL_CURRENT		@LT_CURRENT@
     27 #define LIBNL_REVISION		@LT_REVISION@
     28 #define LIBNL_AGE		@LT_AGE@
     29 
     30 /* Run-time version information */
     31 
     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;
     36 
     37 #endif
     38