Added better sanity checks in Diffie-Hellman key exchange.
[gnutls.git] / gl / sysexits.in.h
blob8e8c96270ffe8e548b77015ed19a8b7cca15cd5b
1 /* exit() exit codes for some BSD system programs.
2 Copyright (C) 2003, 2006-2012 Free Software Foundation, Inc.
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17 /* Written by Simon Josefsson based on sysexits(3) man page */
19 #ifndef _@GUARD_PREFIX@_SYSEXITS_H
21 #if __GNUC__ >= 3
22 @PRAGMA_SYSTEM_HEADER@
23 #endif
24 @PRAGMA_COLUMNS@
26 #if @HAVE_SYSEXITS_H@
28 /* IRIX 6.5 has an <unistd.h> that defines a macro EX_OK with a nonzero
29 value. Override it. See
30 <http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00361.html> */
31 # ifdef __sgi
32 # include <unistd.h>
33 # undef EX_OK
34 # endif
36 /* The include_next requires a split double-inclusion guard. */
37 # @INCLUDE_NEXT@ @NEXT_SYSEXITS_H@
39 /* HP-UX 11 <sysexits.h> ends at EX_NOPERM. */
40 # ifndef EX_CONFIG
41 # define EX_CONFIG 78
42 # endif
44 #endif
46 #ifndef _@GUARD_PREFIX@_SYSEXITS_H
47 #define _@GUARD_PREFIX@_SYSEXITS_H
49 #if !@HAVE_SYSEXITS_H@
51 # define EX_OK 0 /* same value as EXIT_SUCCESS */
53 # define EX_USAGE 64
54 # define EX_DATAERR 65
55 # define EX_NOINPUT 66
56 # define EX_NOUSER 67
57 # define EX_NOHOST 68
58 # define EX_UNAVAILABLE 69
59 # define EX_SOFTWARE 70
60 # define EX_OSERR 71
61 # define EX_OSFILE 72
62 # define EX_CANTCREAT 73
63 # define EX_IOERR 74
64 # define EX_TEMPFAIL 75
65 # define EX_PROTOCOL 76
66 # define EX_NOPERM 77
67 # define EX_CONFIG 78
69 #endif
71 #endif /* _@GUARD_PREFIX@_SYSEXITS_H */
72 #endif /* _@GUARD_PREFIX@_SYSEXITS_H */