lib: check for integer-overflow in nlmsg_reserve()
[platform/upstream/libnl3.git] / include / netlink / version.h
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@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 "libnl 3.2.22"
18 #define LIBNL_VERSION "3.2.22"
19
20 #define LIBNL_VER_MAJ           3
21 #define LIBNL_VER_MIN           2
22 #define LIBNL_VER_MIC           22
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           217
27 #define LIBNL_REVISION          0
28 #define LIBNL_AGE               17
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