19 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
20 |
*/ |
*/ |
21 |
#include <windows.h> |
#include <windows.h> |
22 |
|
|
23 |
#include "w32gpgme.h" |
#include "w32gpgme.h" |
24 |
|
#include "wptCrypto.h" |
25 |
|
|
26 |
/* XXX: define clipboard errors. */ |
/* XXX: define clipboard errors. */ |
27 |
|
|
61 |
@r_type contains the ORed types on success. |
@r_type contains the ORed types on success. |
62 |
Return value: 0 on success. */ |
Return value: 0 on success. */ |
63 |
gpgme_error_t |
gpgme_error_t |
64 |
gpg_clip_parse_pgpid (const char *data, gpg_pgptype_t *r_type) |
gpg_clip_parse_pgpid (const char *data, int *r_type) |
65 |
{ |
{ |
66 |
gpg_pgptype_t type; |
int type; |
67 |
|
|
68 |
if (!data) |
if (!data) |
69 |
return gpg_error (GPG_ERR_INV_ARG); |
return gpg_error (GPG_ERR_INV_ARG); |
91 |
|
|
92 |
|
|
93 |
gpgme_error_t |
gpgme_error_t |
94 |
gpg_clip_is_secured (gpg_pgptype_t *r_type, int *r_rc) |
gpg_clip_is_secured (int *r_type, int *r_rc) |
95 |
{ |
{ |
96 |
int rc = 0; |
int rc = 0; |
97 |
HANDLE clipmem; |
HANDLE clipmem; |
140 |
|
|
141 |
|
|
142 |
gpgme_error_t |
gpgme_error_t |
143 |
gpg_clip_get_pgptype (gpg_pgptype_t *r_type) |
gpg_clip_get_pgptype (int *r_type) |
144 |
{ |
{ |
145 |
gpgme_error_t rc = 0; |
gpgme_error_t rc = 0; |
146 |
HANDLE clipmem; |
HANDLE clipmem; |