|
Packit |
fc043f |
/* Output of mkstrtable.awk. DO NOT EDIT. */
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
/* err-sources.h - List of error sources and their description.
|
|
Packit |
fc043f |
Copyright (C) 2003, 2004 g10 Code GmbH
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
This file is part of libgpg-error.
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
libgpg-error is free software; you can redistribute it and/or
|
|
Packit |
fc043f |
modify it under the terms of the GNU Lesser General Public License
|
|
Packit |
fc043f |
as published by the Free Software Foundation; either version 2.1 of
|
|
Packit |
fc043f |
the License, or (at your option) any later version.
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
libgpg-error is distributed in the hope that it will be useful, but
|
|
Packit |
fc043f |
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
fc043f |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
fc043f |
Lesser General Public License for more details.
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
You should have received a copy of the GNU Lesser General Public
|
|
Packit |
fc043f |
License along with libgpg-error; if not, write to the Free
|
|
Packit |
fc043f |
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
Packit |
fc043f |
02111-1307, USA. */
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
/* The purpose of this complex string table is to produce
|
|
Packit |
fc043f |
optimal code with a minimum of relocations. */
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
static const char msgstr[] =
|
|
Packit |
fc043f |
gettext_noop ("Unspecified source") "\0"
|
|
Packit |
fc043f |
gettext_noop ("gcrypt") "\0"
|
|
Packit |
fc043f |
gettext_noop ("GnuPG") "\0"
|
|
Packit |
fc043f |
gettext_noop ("GpgSM") "\0"
|
|
Packit |
fc043f |
gettext_noop ("GPG Agent") "\0"
|
|
Packit |
fc043f |
gettext_noop ("Pinentry") "\0"
|
|
Packit |
fc043f |
gettext_noop ("SCD") "\0"
|
|
Packit |
fc043f |
gettext_noop ("GPGME") "\0"
|
|
Packit |
fc043f |
gettext_noop ("Keybox") "\0"
|
|
Packit |
fc043f |
gettext_noop ("KSBA") "\0"
|
|
Packit |
fc043f |
gettext_noop ("Dirmngr") "\0"
|
|
Packit |
fc043f |
gettext_noop ("GSTI") "\0"
|
|
Packit |
fc043f |
gettext_noop ("GPA") "\0"
|
|
Packit |
fc043f |
gettext_noop ("Kleopatra") "\0"
|
|
Packit |
fc043f |
gettext_noop ("G13") "\0"
|
|
Packit |
fc043f |
gettext_noop ("Assuan") "\0"
|
|
Packit |
fc043f |
gettext_noop ("TLS") "\0"
|
|
Packit |
fc043f |
gettext_noop ("Any source") "\0"
|
|
Packit |
fc043f |
gettext_noop ("User defined source 1") "\0"
|
|
Packit |
fc043f |
gettext_noop ("User defined source 2") "\0"
|
|
Packit |
fc043f |
gettext_noop ("User defined source 3") "\0"
|
|
Packit |
fc043f |
gettext_noop ("User defined source 4") "\0"
|
|
Packit |
fc043f |
gettext_noop ("Unknown source");
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
static const int msgidx[] =
|
|
Packit |
fc043f |
{
|
|
Packit |
fc043f |
0,
|
|
Packit |
fc043f |
19,
|
|
Packit |
fc043f |
26,
|
|
Packit |
fc043f |
32,
|
|
Packit |
fc043f |
38,
|
|
Packit |
fc043f |
48,
|
|
Packit |
fc043f |
57,
|
|
Packit |
fc043f |
61,
|
|
Packit |
fc043f |
67,
|
|
Packit |
fc043f |
74,
|
|
Packit |
fc043f |
79,
|
|
Packit |
fc043f |
87,
|
|
Packit |
fc043f |
92,
|
|
Packit |
fc043f |
96,
|
|
Packit |
fc043f |
106,
|
|
Packit |
fc043f |
110,
|
|
Packit |
fc043f |
117,
|
|
Packit |
fc043f |
121,
|
|
Packit |
fc043f |
132,
|
|
Packit |
fc043f |
154,
|
|
Packit |
fc043f |
176,
|
|
Packit |
fc043f |
198,
|
|
Packit |
fc043f |
220
|
|
Packit |
fc043f |
};
|
|
Packit |
fc043f |
|
|
Packit |
fc043f |
static GPG_ERR_INLINE int
|
|
Packit |
fc043f |
msgidxof (int code)
|
|
Packit |
fc043f |
{
|
|
Packit |
fc043f |
return (0 ? 0
|
|
Packit |
fc043f |
: ((code >= 0) && (code <= 15)) ? (code - 0)
|
|
Packit |
fc043f |
: ((code >= 17) && (code <= 17)) ? (code - 1)
|
|
Packit |
fc043f |
: ((code >= 31) && (code <= 35)) ? (code - 14)
|
|
Packit |
fc043f |
: 36 - 14);
|
|
Packit |
fc043f |
}
|