summaryrefslogtreecommitdiffstats
path: root/libkdenetwork/libgpg-error-copy/err-sources.h.in
blob: a3b6983b15e3ce6be9cfb9896fc1e6f10e7c87f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# err-sources.h.in - List of error sources and their description input file.
/* err-sources.h - List of error sources and their description.
   Copyright (C) 2003, 2004 g10 Code GmbH

   This file is part of libgpg-error.

   libgpg-error is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public License
   as published by the Free Software Foundation; either version 2.1 of
   the License, or (at your option) any later version.
 
   libgpg-error is distributed in the hope that it will be useful, but
   WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.
 
   You should have received a copy of the GNU Lesser General Public
   License along with libgpg-error; if not, write to the Free
   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
   02111-1307, USA.  */

# Everything up to the first line that starts with a number in the
# first column is copied into the output verbatim.  Then, empty lines
# are ignored.  Other lines must have an error source number, followed
# by one or more <tab> characters, followed by the error source
# symbol, followed by one or more <tab> characters, followed by the
# error source name.  Trailing whitespace is removed.  The error
# sources should be sorted.  The last line should not have a number,
# but only a <tab>, followed by a description for error sources that
# are not in the list.

0	GPG_ERR_SOURCE_UNKNOWN		Unspecified source
1	GPG_ERR_SOURCE_GCRYPT		gcrypt
2	GPG_ERR_SOURCE_GPG		GnuPG
3	GPG_ERR_SOURCE_GPGSM		GpgSM
4	GPG_ERR_SOURCE_GPGAGENT		GPG Agent
5	GPG_ERR_SOURCE_PINENTRY		Pinentry
6	GPG_ERR_SOURCE_SCD		SCD
7	GPG_ERR_SOURCE_GPGME		GPGME
8	GPG_ERR_SOURCE_KEYBOX		Keybox
9	GPG_ERR_SOURCE_KSBA		KSBA
10	GPG_ERR_SOURCE_DIRMNGR		Dirmngr
11	GPG_ERR_SOURCE_GSTI		GSTI

# 11 to 30 are free to be used.

31	GPG_ERR_SOURCE_ANY		Any source
32	GPG_ERR_SOURCE_USER_1		User defined source 1
33	GPG_ERR_SOURCE_USER_2		User defined source 2
34	GPG_ERR_SOURCE_USER_3		User defined source 3
35	GPG_ERR_SOURCE_USER_4		User defined source 4

# 36 to 255 are free to be used.

	GPG_ERR_SOURCE_DIM		Unknown source