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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22 - (hide annotations)
Wed Aug 10 11:33:35 2005 UTC (19 years, 6 months ago) by twoaday
File MIME type: text/plain
File size: 4093 byte(s)
2005-08-06  Timo Schulz  <twoaday@freakmail.de>
 
        * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
        of the secret key.
        (keycache_init): cache name of secret keyring.
        * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
        (get_key_type): Do not assume 'ultimate' means key pair.
        * wptKeyEditDlgs.cpp (diff_time): New.
        (keyedit_addsubkey_dlg_proc): Changed design and use
        diff_time. Drop checks for invalid keylength (< 1024, > 4096)
        because the combo box automatically handles this.
        * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
        * wptGPG.cpp (get_backup_name): New.
        (gnupg_backup_keyrings): Rotate backup names, from 0..3.
        * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
        not the long keyid.


1 twoaday 2 /* status-table.h
2 twoaday 9 * Copyright (C) 2002, 2005 Timo Schulz
3 twoaday 2 *
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 twoaday 22 { "IMPORT_OK", STATUS_IMPORT_OK },
66 twoaday 2 { "IMPORT_RES", STATUS_IMPORT_RES },
67     { "INV_RECP", STATUS_INV_RECP },
68     { "KEYEXPIRED", STATUS_KEYEXPIRED },
69     { "KEYREVOKED", STATUS_KEYREVOKED },
70     { "KEY_CREATED", STATUS_KEY_CREATED },
71     { "LEAVE", STATUS_LEAVE },
72     { "MISSING_PASSPHRASE", STATUS_MISSING_PASSPHRASE },
73     { "NEED_PASSPHRASE", STATUS_NEED_PASSPHRASE },
74     { "NEED_PASSPHRASE_PIN", STATUS_NEED_PASSPHRASE_PIN },
75     { "NEED_PASSPHRASE_SYM,", STATUS_NEED_PASSPHRASE_SYM },
76     { "NODATA", STATUS_NODATA },
77     { "NOTATION_DATA", STATUS_NOTATION_DATA },
78     { "NOTATION_NAME", STATUS_NOTATION_NAME },
79     { "NO_PUBKEY", STATUS_NO_PUBKEY },
80     { "NO_RECP", STATUS_NO_RECP },
81     { "NO_SECKEY", STATUS_NO_SECKEY },
82 twoaday 9 { "PLAINTEXT", STATUS_PLAINTEXT },
83     { "PLAINTEXT_LENGTH", STATUS_PLAINTEXT_LENGTH },
84 twoaday 2 { "POLICY_URL", STATUS_POLICY_URL },
85     { "PROGRESS", STATUS_PROGRESS },
86     { "REVKEYSIG", STATUS_REVKEYSIG },
87     { "RSA_OR_IDEA", STATUS_RSA_OR_IDEA },
88 twoaday 7 { "SC_OP_FAILURE", STATUS_SC_OP_FAILURE },
89     { "SC_OP_SUCCESS", STATUS_SC_OP_SUCCESS },
90 twoaday 2 { "SESSION_KEY", STATUS_SESSION_KEY },
91     { "SIGEXPIRED", STATUS_SIGEXPIRED },
92     { "SIG_CREATED", STATUS_SIG_CREATED },
93     { "SIG_ID", STATUS_SIG_ID },
94     { "SIG_SUBPACKET", STATUS_SIG_SUBPACKET },
95     { "TRUNCATED", STATUS_TRUNCATED },
96     { "TRUST_FULLY", STATUS_TRUST_FULLY },
97     { "TRUST_MARGINAL", STATUS_TRUST_MARGINAL },
98     { "TRUST_NEVER", STATUS_TRUST_NEVER },
99     { "TRUST_ULTIMATE", STATUS_TRUST_ULTIMATE },
100     { "TRUST_UNDEFINED", STATUS_TRUST_UNDEFINED },
101     { "UNEXPECTED", STATUS_UNEXPECTED },
102     { "USERID_HINT", STATUS_USERID_HINT },
103     { "VALIDSIG", STATUS_VALIDSIG },
104     {NULL, 0} };
105    
106     #endif /*GPGME_STATUS_TABLE_H*/

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26