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

Annotation of /trunk/MyGPGME/common-status.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: 1563 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 22 /* common-status.h
2     * Copyright (C) 2004, 2005 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 twoaday 2 #ifndef COMMON_STATUS_H
21     #define COMMON_STATUS_H 1
22    
23     enum {
24 twoaday 22 GPG_NODATA_ARMOR = 1,
25 twoaday 2 GPG_NODATA_EXPPKTNOTFND = 2,
26 twoaday 22 GPG_NODATA_INVPKT = 3
27 twoaday 2 };
28    
29     enum {
30     GPG_UNPEXTED = 1
31     };
32    
33    
34     gpgme_error_t _gpgme_nodata_status_handler (gpg_status_code_t code,
35     const char * args, int * ret);
36     gpgme_error_t _gpgme_pass_status_handler (gpg_status_code_t code,
37     const char * args,
38     int * r_bad_pass, int * r_no_pass,
39     char ** r_info);
40    
41     gpgme_error_t _gpgme_sigtrust_status_handler (gpg_status_code_t code,
42     const char * args,
43     int * retval);
44    
45     void _gpgme_genkey_status_handler (gpgme_ctx_t ctx, gpg_status_code_t code,
46     char * args);
47    
48 twoaday 22 #endif /*COMMON_STATUS_H */

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26