1 # err-sources.h.in - List of error sources and their description input file.
2 /* err-sources.h - List of error sources and their description.
3 Copyright (C) 2003, 2004 g10 Code GmbH
5 This file is part of libgpg-error.
7 libgpg-error is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public License
9 as published by the Free Software Foundation; either version 2.1 of
10 the License, or (at your option) any later version.
12 libgpg-error is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
17 You should have received a copy of the GNU Lesser General Public
18 License along with libgpg-error; if not, write to the Free
19 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 # Everything up to the first line that starts with a number in the
23 # first column is copied into the output verbatim. Then, empty lines
24 # are ignored. Other lines must have an error source number, followed
25 # by one or more <tab> characters, followed by the error source
26 # symbol, followed by one or more <tab> characters, followed by the
27 # error source name. Trailing whitespace is removed. The error
28 # sources should be sorted. The last line should not have a number,
29 # but only a <tab>, followed by a description for error sources that
30 # are not in the list.
32 0 GPG_ERR_SOURCE_UNKNOWN Unspecified source
33 1 GPG_ERR_SOURCE_GCRYPT gcrypt
34 2 GPG_ERR_SOURCE_GPG GnuPG
35 3 GPG_ERR_SOURCE_GPGSM GpgSM
36 4 GPG_ERR_SOURCE_GPGAGENT GPG Agent
37 5 GPG_ERR_SOURCE_PINENTRY Pinentry
38 6 GPG_ERR_SOURCE_SCD SCD
39 7 GPG_ERR_SOURCE_GPGME GPGME
40 8 GPG_ERR_SOURCE_KEYBOX Keybox
41 9 GPG_ERR_SOURCE_KSBA KSBA
42 10 GPG_ERR_SOURCE_DIRMNGR Dirmngr
43 11 GPG_ERR_SOURCE_GSTI GSTI
44 12 GPG_ERR_SOURCE_GPA GPA
45 13 GPG_ERR_SOURCE_KLEO Kleopatra
46 14 GPG_ERR_SOURCE_G13 G13
47 15 GPG_ERR_SOURCE_ASSUAN Assuan
49 # 15 to 30 are free to be used.
51 31 GPG_ERR_SOURCE_ANY Any source
52 32 GPG_ERR_SOURCE_USER_1 User defined source 1
53 33 GPG_ERR_SOURCE_USER_2 User defined source 2
54 34 GPG_ERR_SOURCE_USER_3 User defined source 3
55 35 GPG_ERR_SOURCE_USER_4 User defined source 4
57 # 36 to 255 are free to be used.
59 GPG_ERR_SOURCE_DIM Unknown source