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 |
* |
* |
207 |
char *request_passphrase2 (const char *title, int flags, int *ret_cancel); |
char *request_passphrase2 (const char *title, int flags, int *ret_cancel); |
208 |
char *request_key_passphrase (gpgme_key_t key, const char *title, |
char *request_key_passphrase (gpgme_key_t key, const char *title, |
209 |
int *ret_cancel); |
int *ret_cancel); |
210 |
const char * passphrase_cb (void *opaque, const char * desc, void *r_hd); |
//const char * passphrase_cb (void *opaque, const char * desc, void *r_hd); |
211 |
char * get_key_userid (const char *keyid); |
char * get_key_userid (const char *keyid); |
212 |
int check_passwd_quality (const char *pass, int strict); |
int check_passwd_quality (const char *pass, int strict); |
213 |
|
|
217 |
gpgme_error_t gpg_clip_get_pgptype (int *r_type); |
gpgme_error_t gpg_clip_get_pgptype (int *r_type); |
218 |
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); |
219 |
|
|
220 |
|
gpgme_error_t gpg_data_utf8_new_from_clipboard (gpgme_data_t *r_dh, |
221 |
|
int wraplen, int *r_is_utf8); |
222 |
|
gpgme_error_t gpg_data_new_from_clipboard (gpgme_data_t *r_dh, |
223 |
|
int wraplen); |
224 |
|
|
225 |
|
gpgme_error_t gpg_data_release_utf8_to_clipboard (gpgme_data_t dh); |
226 |
|
gpgme_error_t gpg_data_release_to_clipboard (gpgme_data_t dh, int chg_ver); |
227 |
|
|
228 |
|
|
229 |
/* wptGPGMEData.cpp --*/ |
/* wptGPGMEData.cpp --*/ |
230 |
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); |
|
231 |
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); |
232 |
|
|
233 |
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); |