Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:02:16

0001 /* version.h
0002 
0003    Information about library version.
0004 
0005    Copyright (C) 2015 Red Hat, Inc.
0006    Copyright (C) 2015 Niels Möller
0007 
0008    This file is part of GNU Nettle.
0009 
0010    GNU Nettle is free software: you can redistribute it and/or
0011    modify it under the terms of either:
0012 
0013      * the GNU Lesser General Public License as published by the Free
0014        Software Foundation; either version 3 of the License, or (at your
0015        option) any later version.
0016 
0017    or
0018 
0019      * the GNU General Public License as published by the Free
0020        Software Foundation; either version 2 of the License, or (at your
0021        option) any later version.
0022 
0023    or both in parallel, as here.
0024 
0025    GNU Nettle is distributed in the hope that it will be useful,
0026    but WITHOUT ANY WARRANTY; without even the implied warranty of
0027    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0028    General Public License for more details.
0029 
0030    You should have received copies of the GNU General Public License and
0031    the GNU Lesser General Public License along with this program.  If
0032    not, see http://www.gnu.org/licenses/.
0033 */
0034 
0035 #ifndef NETTLE_VERSION_H_INCLUDED
0036 #define NETTLE_VERSION_H_INCLUDED
0037 
0038 #ifdef __cplusplus
0039 extern "C" {
0040 #endif
0041 
0042 /* Individual version numbers in decimal */
0043 #define NETTLE_VERSION_MAJOR 3
0044 #define NETTLE_VERSION_MINOR 9
0045 
0046 #define NETTLE_USE_MINI_GMP 0
0047 
0048 /* We need a preprocessor constant for GMP_NUMB_BITS, simply using
0049    sizeof(mp_limb_t) * CHAR_BIT is not good enough. */
0050 #if NETTLE_USE_MINI_GMP
0051 # define GMP_NUMB_BITS n/a
0052 #endif
0053 
0054 int
0055 nettle_version_major (void);
0056 
0057 int
0058 nettle_version_minor (void);
0059 
0060 #ifdef __cplusplus
0061 }
0062 #endif
0063 
0064 #endif /* NETTLE_VERSION_H_INCLUDED */