3 Information about library version.
5 Copyright (C) 2015 Red Hat, Inc.
6 Copyright (C) 2015 Niels Möller
8 This file is part of GNU Nettle.
10 GNU Nettle is free software: you can redistribute it and/or
11 modify it under the terms of either:
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.
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.
23 or both in parallel, as here.
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.
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/.
35 #ifndef NETTLE_VERSION_H_INCLUDED
36 #define NETTLE_VERSION_H_INCLUDED
42 /* Individual version numbers in decimal */
43 #define NETTLE_VERSION_MAJOR @MAJOR_VERSION@
44 #define NETTLE_VERSION_MINOR @MINOR_VERSION@
46 #define NETTLE_USE_MINI_GMP @NETTLE_USE_MINI_GMP@
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@
55 nettle_version_major (void);
58 nettle_version_minor (void);
64 #endif /* NETTLE_VERSION_H_INCLUDED */