ChangeLog entry for EPILOGUE fix.
[gd/nettle] / version.h.in
1 /* version.h
2
3    Information about library version.
4
5    Copyright (C) 2015 Red Hat, Inc.
6    Copyright (C) 2015 Niels Möller
7
8    This file is part of GNU Nettle.
9
10    GNU Nettle is free software: you can redistribute it and/or
11    modify it under the terms of either:
12
13      * the GNU Lesser General Public License as published by the Free
14        Software Foundation; either version 3 of the License, or (at your
15        option) any later version.
16
17    or
18
19      * the GNU General Public License as published by the Free
20        Software Foundation; either version 2 of the License, or (at your
21        option) any later version.
22
23    or both in parallel, as here.
24
25    GNU Nettle is distributed in the hope that it will be useful,
26    but WITHOUT ANY WARRANTY; without even the implied warranty of
27    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
28    General Public License for more details.
29
30    You should have received copies of the GNU General Public License and
31    the GNU Lesser General Public License along with this program.  If
32    not, see http://www.gnu.org/licenses/.
33 */
34
35 #ifndef NETTLE_VERSION_H_INCLUDED
36 #define NETTLE_VERSION_H_INCLUDED
37
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41
42 /* Individual version numbers in decimal */
43 #define NETTLE_VERSION_MAJOR @MAJOR_VERSION@
44 #define NETTLE_VERSION_MINOR @MINOR_VERSION@
45
46 #define NETTLE_USE_MINI_GMP @NETTLE_USE_MINI_GMP@
47
48 /* We need a preprocessor constant for GMP_NUMB_BITS, simply using
49    sizeof(mp_limb_t) * CHAR_BIT is not good enough. */
50 #if NETTLE_USE_MINI_GMP
51 # define GMP_NUMB_BITS @GMP_NUMB_BITS@
52 #endif
53
54 int
55 nettle_version_major (void);
56
57 int
58 nettle_version_minor (void);
59
60 #ifdef __cplusplus
61 }
62 #endif
63
64 #endif /* NETTLE_VERSION_H_INCLUDED */