/[winpt]/trunk/w32gpgme/clip.c
ViewVC logotype

Diff of /trunk/w32gpgme/clip.c

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

revision 46 by werner, Thu Oct 27 15:25:13 2005 UTC revision 47 by werner, Mon Oct 31 14:04:59 2005 UTC
# Line 19  Line 19 
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    
# Line 59  leave: Line 61  leave:
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);
# Line 89  gpg_clip_parse_pgpid (const char *data, Line 91  gpg_clip_parse_pgpid (const char *data,
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;
# Line 138  gpg_clip_do_check( int * r_rc ) Line 140  gpg_clip_do_check( int * r_rc )
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;

Legend:
Removed from v.46  
changed lines
  Added in v.47

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26