/[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 295 by twoaday, Tue Mar 13 18:53:40 2007 UTC revision 335 by twoaday, Sun Nov 27 12:20:21 2011 UTC
# Line 1  Line 1 
1  /* wptGPG.h - GnuPG interface  /* wptGPG.h - GnuPG interface
2   *      Copyright (C) 2000-2007 Timo Schulz   *      Copyright (C) 2000-2007, 2009 Timo Schulz
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 109  void gnupg_backup_options (); Line 109  void gnupg_backup_options ();
109  void gnupg_backup_keyrings (int auto_backup, int backup_mode,  void gnupg_backup_keyrings (int auto_backup, int backup_mode,
110                              int include_secr);                              int include_secr);
111  int gnupg_copy_keyrings (void);  int gnupg_copy_keyrings (void);
112    int gnupg_import_keypair (void);
113  int check_gnupg_engine (const char *need_gpg_ver,  int check_gnupg_engine (const char *need_gpg_ver,
114                          int *r_major, int *r_minor, int *r_patch);                          int *r_major, int *r_minor, int *r_patch);
115    
# Line 207  char *request_passphrase (const char *ti Line 208  char *request_passphrase (const char *ti
208  char *request_passphrase2 (const char *title, int flags, int *ret_cancel);  char *request_passphrase2 (const char *title, int flags, int *ret_cancel);
209  char *request_key_passphrase (gpgme_key_t key, const char *title,  char *request_key_passphrase (gpgme_key_t key, const char *title,
210                                int *ret_cancel);                                int *ret_cancel);
211  const char * passphrase_cb (void *opaque, const char * desc, void *r_hd);  //const char * passphrase_cb (void *opaque, const char * desc, void *r_hd);
212  char * get_key_userid (const char *keyid);  char * get_key_userid (const char *keyid);
213  int check_passwd_quality (const char *pass, int strict);  int check_passwd_quality (const char *pass, int strict);
214    
# Line 217  gpgme_error_t gpg_clip_is_secured (int * Line 218  gpgme_error_t gpg_clip_is_secured (int *
218  gpgme_error_t gpg_clip_get_pgptype (int *r_type);  gpgme_error_t gpg_clip_get_pgptype (int *r_type);
219  gpgme_error_t gpg_clip_parse_pgpid (const char *data, int *r_type);  gpgme_error_t gpg_clip_parse_pgpid (const char *data, int *r_type);
220    
221    gpgme_error_t gpg_data_utf8_new_from_clipboard (gpgme_data_t *r_dh,
222                                                    int wraplen, int *r_is_utf8);
223    gpgme_error_t gpg_data_new_from_clipboard (gpgme_data_t *r_dh,
224                                               int wraplen);
225    
226    gpgme_error_t gpg_data_release_utf8_to_clipboard (gpgme_data_t dh);
227    gpgme_error_t gpg_data_release_to_clipboard (gpgme_data_t dh, int chg_ver);
228                                                      
229    
230  /* wptGPGMEData.cpp --*/  /* wptGPGMEData.cpp --*/
231  gpgme_error_t gpg_data_new_from_clipboard (gpgme_data_t *r_dh, int wraplen);  
 void         gpg_data_release_and_set_clipboard (gpgme_data_t dh, int chg_ver);  
232  size_t       gpg_data_readline (gpgme_data_t dh, char *line, size_t nbytes);  size_t       gpg_data_readline (gpgme_data_t dh, char *line, size_t nbytes);
233    
234  gpgme_error_t gpg_data_release_and_set_file (gpgme_data_t dh, const char *fname);  gpgme_error_t gpg_data_release_and_set_file (gpgme_data_t dh, const char *fname);

Legend:
Removed from v.295  
changed lines
  Added in v.335

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26