/[winpt]/trunk/MyGPGME/status-table.h
ViewVC logotype

Annotation of /trunk/MyGPGME/status-table.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Mon Jan 31 11:02:21 2005 UTC (20 years, 1 month ago) by twoaday
File MIME type: text/plain
File size: 3867 byte(s)
WinPT initial checkin.


1 twoaday 2 /* status-table.h
2     * Copyright (C) 2002 Timo Schulz
3     *
4     * This file is part of MyGPGME.
5     *
6     * MyGPGME is free software; you can redistribute it and/or modify
7     * it under the terms of the GNU General Public License as published by
8     * the Free Software Foundation; either version 2 of the License, or
9     * (at your option) any later version.
10     *
11     * MyGPGME is distributed in the hope that it will be useful,
12     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14     * GNU General Public License for more details.
15     *
16     * You should have received a copy of the GNU General Public License
17     * along with this program; if not, write to the Free Software
18     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19     */
20    
21     #ifndef GPGME_STATUS_TABLE_H
22     #define GPGME_STATUS_TABLE_H
23    
24     struct status_table_s {
25     const char *name;
26     gpg_status_code_t code;
27     };
28    
29     static struct status_table_s status_table[] = {
30     { "ABORT", STATUS_ABORT },
31     { "ALREADY_SIGNED", STATUS_ALREADY_SIGNED },
32     { "BADARMOR", STATUS_BADARMOR },
33     { "BADMDC", STATUS_BADMDC },
34     { "BADSIG", STATUS_BADSIG },
35     { "BAD_PASSPHRASE", STATUS_BAD_PASSPHRASE },
36     { "BEGIN_DECRYPTION", STATUS_BEGIN_DECRYPTION },
37     { "BEGIN_ENCRYPTION", STATUS_BEGIN_ENCRYPTION },
38     { "BEGIN_STREAM", STATUS_BEGIN_STREAM },
39     { "CARDCTRL", STATUS_CARDCTRL },
40     { "DECRYPTION_FAILED", STATUS_DECRYPTION_FAILED },
41     { "DECRYPTION_OKAY", STATUS_DECRYPTION_OKAY },
42     { "DELETE_PROBLEM", STATUS_DELETE_PROBLEM },
43     { "ENC_TO", STATUS_ENC_TO },
44     { "END_DECRYPTION", STATUS_END_DECRYPTION },
45     { "END_ENCRYPTION", STATUS_END_ENCRYPTION },
46     { "END_STREAM", STATUS_END_STREAM },
47     { "ENTER", STATUS_ENTER },
48     { "ERRMDC", STATUS_ERRMDC },
49     { "ERROR", STATUS_ERROR },
50     { "ERRSIG", STATUS_ERRSIG },
51     { "EXPKEYSIG", STATUS_EXPKEYSIG },
52     { "EXPSIG", STATUS_EXPSIG },
53     { "FILE_DONE", STATUS_FILE_DONE },
54     { "FILE_ERROR", STATUS_FILE_ERROR },
55     { "FILE_START", STATUS_FILE_START },
56     { "GET_BOOL", STATUS_GET_BOOL },
57     { "GET_HIDDEN", STATUS_GET_HIDDEN },
58     { "GET_LINE", STATUS_GET_LINE },
59     { "GOODMDC", STATUS_GOODMDC },
60     { "GOODSIG", STATUS_GOODSIG },
61     { "GOOD_PASSPHRASE", STATUS_GOOD_PASSPHRASE },
62     { "GOT_IT", STATUS_GOT_IT },
63     { "IMPORTED", STATUS_IMPORTED },
64     { "IMPORT_CHECK", STATUS_IMPORT_CHECK },
65     { "IMPORT_RES", STATUS_IMPORT_RES },
66     { "INV_RECP", STATUS_INV_RECP },
67     { "KEYEXPIRED", STATUS_KEYEXPIRED },
68     { "KEYREVOKED", STATUS_KEYREVOKED },
69     { "KEY_CREATED", STATUS_KEY_CREATED },
70     { "LEAVE", STATUS_LEAVE },
71     { "MISSING_PASSPHRASE", STATUS_MISSING_PASSPHRASE },
72     { "NEED_PASSPHRASE", STATUS_NEED_PASSPHRASE },
73     { "NEED_PASSPHRASE_PIN", STATUS_NEED_PASSPHRASE_PIN },
74     { "NEED_PASSPHRASE_SYM,", STATUS_NEED_PASSPHRASE_SYM },
75     { "NODATA", STATUS_NODATA },
76     { "NOTATION_DATA", STATUS_NOTATION_DATA },
77     { "NOTATION_NAME", STATUS_NOTATION_NAME },
78     { "NO_PUBKEY", STATUS_NO_PUBKEY },
79     { "NO_RECP", STATUS_NO_RECP },
80     { "NO_SECKEY", STATUS_NO_SECKEY },
81     { "POLICY_URL", STATUS_POLICY_URL },
82     { "PROGRESS", STATUS_PROGRESS },
83     { "REVKEYSIG", STATUS_REVKEYSIG },
84     { "RSA_OR_IDEA", STATUS_RSA_OR_IDEA },
85     { "SESSION_KEY", STATUS_SESSION_KEY },
86     { "SIGEXPIRED", STATUS_SIGEXPIRED },
87     { "SIG_CREATED", STATUS_SIG_CREATED },
88     { "SIG_ID", STATUS_SIG_ID },
89     { "SIG_SUBPACKET", STATUS_SIG_SUBPACKET },
90     { "TRUNCATED", STATUS_TRUNCATED },
91     { "TRUST_FULLY", STATUS_TRUST_FULLY },
92     { "TRUST_MARGINAL", STATUS_TRUST_MARGINAL },
93     { "TRUST_NEVER", STATUS_TRUST_NEVER },
94     { "TRUST_ULTIMATE", STATUS_TRUST_ULTIMATE },
95     { "TRUST_UNDEFINED", STATUS_TRUST_UNDEFINED },
96     { "UNEXPECTED", STATUS_UNEXPECTED },
97     { "USERID_HINT", STATUS_USERID_HINT },
98     { "VALIDSIG", STATUS_VALIDSIG },
99     {NULL, 0} };
100    
101     #endif /*GPGME_STATUS_TABLE_H*/

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26