diff options
Diffstat (limited to '')
-rw-r--r-- | src/err-sources.h.in | 54 |
1 files changed, 31 insertions, 23 deletions
diff --git a/src/err-sources.h.in b/src/err-sources.h.in index 25a3f86..af072bd 100644 --- a/src/err-sources.h.in +++ b/src/err-sources.h.in @@ -1,6 +1,6 @@ # 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 g10 Code GmbH + Copyright (C) 2003, 2004 g10 Code GmbH This file is part of libgpg-error. @@ -21,25 +21,33 @@ # 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 code number, followed -# by exactly one <tab>, followed by the error message. 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 Unspecified source -1 gcrypt -2 GnuPG -3 GpgSM -4 GPG Agent -5 Pinentry -6 SCD -7 GPGME -8 Keybox -9 KSBA -10 Dirmngr -32 User defined source 1 -33 User defined source 2 -34 User defined source 3 -35 User defined source 4 - Unknown source +# 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 to 31 are free to be used. + +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 |