/[winpt]/trunk/Include/wptGPG.h
ViewVC logotype

Diff of /trunk/Include/wptGPG.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 108 by werner, Mon Oct 31 21:14:11 2005 UTC revision 109 by twoaday, Fri Dec 2 07:32:13 2005 UTC
# Line 100  struct gpg_optfile_s { Line 100  struct gpg_optfile_s {
100  };  };
101  typedef struct gpg_optfile_s * gpg_optfile_t;  typedef struct gpg_optfile_s * gpg_optfile_t;
102    
103    
104  struct passphrase_cb_s {  struct passphrase_cb_s {
105      int gpg_cmd;        /* sign or decrypt. */      int gpg_cmd;        /* sign or decrypt. */
106      int pwd_init;       /* 1 = passphrase request via dialog. */      int pwd_init;       /* 1 = passphrase request via dialog. */
# Line 121  struct passphrase_cb_s { Line 122  struct passphrase_cb_s {
122  };  };
123    
124    
 static const char * gpg_sigstat[] = {  
     _("Error during verification process."),  
     _("The signature is good."),  
     _("The signature is BAD!"),  
     _("The signature could not be checked due to a missing key."),  
     _("No valid OpenPGP signature."),  
     _("Signature Error"),  
     _("Good Signature (Expired Key)"),  
     _("Good Signature (Revoked Key)"),  
     NULL  
 };  
   
 int sigsum_to_index (gpgme_sigsum_t sum);  
 #define SIGSTAT_MASK 8  
 #define get_gpg_sigstat(sum) gpg_sigstat[sigsum_to_index ((sum)) % SIGSTAT_MASK]  
   
125  /* This variable is 1 if IDEA is available. */  /* This variable is 1 if IDEA is available. */
126  extern int idea_available;  extern int idea_available;
127    
# Line 189  gpg_keycache_t keycache_get_ctx( int _pu Line 174  gpg_keycache_t keycache_get_ctx( int _pu
174  int count_insecure_elgkeys (void);  int count_insecure_elgkeys (void);
175    
176  int gpg_encrypt_symmetric (void);  int gpg_encrypt_symmetric (void);
177    const char *get_gpg_sigstat (gpgme_sigsum_t sum);
178    
179  /*-- wptGPGParser.cpp --*/  /*-- wptGPGParser.cpp --*/
180  /* find */  /* find */

Legend:
Removed from v.108  
changed lines
  Added in v.109

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26