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
4
5   This file is part of libgpg-error.
6
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.
11 
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.
16 
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
20   02111-1307, USA.  */
21
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.
31
320	GPG_ERR_SOURCE_UNKNOWN		Unspecified source
331	GPG_ERR_SOURCE_GCRYPT		gcrypt
342	GPG_ERR_SOURCE_GPG		GnuPG
353	GPG_ERR_SOURCE_GPGSM		GpgSM
364	GPG_ERR_SOURCE_GPGAGENT		GPG Agent
375	GPG_ERR_SOURCE_PINENTRY		Pinentry
386	GPG_ERR_SOURCE_SCD		SCD
397	GPG_ERR_SOURCE_GPGME		GPGME
408	GPG_ERR_SOURCE_KEYBOX		Keybox
419	GPG_ERR_SOURCE_KSBA		KSBA
4210	GPG_ERR_SOURCE_DIRMNGR		Dirmngr
4311	GPG_ERR_SOURCE_GSTI		GSTI
4412	GPG_ERR_SOURCE_GPA		GPA
4513	GPG_ERR_SOURCE_KLEO		Kleopatra
4614	GPG_ERR_SOURCE_G13		G13
47
48# 15 to 30 are free to be used.
49
5031	GPG_ERR_SOURCE_ANY		Any source
5132	GPG_ERR_SOURCE_USER_1		User defined source 1
5233	GPG_ERR_SOURCE_USER_2		User defined source 2
5334	GPG_ERR_SOURCE_USER_3		User defined source 3
5435	GPG_ERR_SOURCE_USER_4		User defined source 4
55
56# 36 to 255 are free to be used.
57
58	GPG_ERR_SOURCE_DIM		Unknown source
59