version.h

00001 /*
00002  * netlink/version.h    Compile Time Versioning Information
00003  *
00004  *      This library is free software; you can redistribute it and/or
00005  *      modify it under the terms of the GNU Lesser General Public
00006  *      License as published by the Free Software Foundation version 2.1
00007  *      of the License.
00008  *
00009  * Copyright (c) 2008-2011 Thomas Graf <tgraf@suug.ch>
00010  */
00011 
00012 #ifndef NETLINK_VERSION_H_
00013 #define NETLINK_VERSION_H_
00014 
00015 #define LIBNL_STRING "libnl 3.0"
00016 #define LIBNL_VERSION "3.0"
00017 
00018 #define LIBNL_VER_MAJ           3
00019 #define LIBNL_VER_MIN           0
00020 #define LIBNL_VER(maj,min)      ((maj) << 8 | (min))
00021 #define LIBNL_VER_NUM           LIBNL_VER(LIBNL_VER_MAJ, LIBNL_VER_MIN)
00022 
00023 #endif