/[winpt]/trunk/MyGPGME/gpgme.h
ViewVC logotype

Diff of /trunk/MyGPGME/gpgme.h

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

revision 7 by twoaday, Mon Apr 4 07:01:43 2005 UTC revision 17 by twoaday, Fri May 20 08:38:32 2005 UTC
# Line 40  extern "C" { Line 40  extern "C" {
40   * let autoconf (using the AM_PATH_GPGME macro) check that this   * let autoconf (using the AM_PATH_GPGME macro) check that this
41   * header matches the installed library.   * header matches the installed library.
42   * Warning: Do not edit the next line.  configure will do that for you! */   * Warning: Do not edit the next line.  configure will do that for you! */
43  #define GPGME_VERSION "20050306ts"  #define GPGME_VERSION "20050418ts"
44    
45  struct gpgme_context_s;  struct gpgme_context_s;
46  typedef struct gpgme_context_s *gpgme_ctx_t;  typedef struct gpgme_context_s *gpgme_ctx_t;
# Line 387  typedef enum { Line 387  typedef enum {
387    
388    
389  typedef enum {  typedef enum {
390      GPGME_CLIP_MESSAGE      =  1,      GPGME_PGP_MESSAGE      =  1,
391      GPGME_CLIP_CLEARSIG     =  2,      GPGME_PGP_CLEARSIG     =  2,
392      GPGME_CLIP_SIG          =  4,      GPGME_PGP_SIG          =  4,
393      GPGME_CLIP_PUBKEY       =  8,      GPGME_PGP_PUBKEY       =  8,
394      GPGME_CLIP_SECKEY       = 16,      GPGME_PGP_SECKEY       = 16,
395      GPGME_CLIP_DASH_ESCAPED = 32      GPGME_PGP_DASH_ESCAPED = 32 /* actually not a type, just a flag */
396  } gpgme_cliptype_t;  } gpgme_pgptype_t;
397    
398  typedef enum {  typedef enum {
399      GPGME_CIPHER_3DES     = 1,      GPGME_CIPHER_3DES     = 1,
# Line 529  gpgme_error_t     gpgme_data_write( gpgm Line 529  gpgme_error_t     gpgme_data_write( gpgm
529  } while( 0 )  } while( 0 )
530    
531  /* Key and trust functions */  /* Key and trust functions */
532    gpgme_error_t gpgme_key_append (gpgme_key_t dst, gpgme_key_t src, int idx);
533  void          gpgme_key_ref( gpgme_key_t key );  void          gpgme_key_ref( gpgme_key_t key );
534  void          gpgme_key_unref( gpgme_key_t key );  void          gpgme_key_unref( gpgme_key_t key );
535  void          gpgme_key_release( gpgme_key_t key );  void          gpgme_key_release( gpgme_key_t key );
# Line 538  unsigned long gpgme_key_get_ulong_attr( Line 539  unsigned long gpgme_key_get_ulong_attr(
539                                           void **reserved, int idx );                                           void **reserved, int idx );
540    
541  /* Key management functions */  /* Key management functions */
542  gpgme_error_t gpgme_op_keylist_start( gpgme_ctx_t ctx,  gpgme_error_t gpgme_op_keylist_start (gpgme_ctx_t ctx,
543                                        const char *pattern, int secret_only );                                        const char *pattern, int secret_only);
544  gpgme_error_t gpgme_op_keylist_next( gpgme_ctx_t ctx, gpgme_key_t * r_key );  gpgme_error_t gpgme_op_keylist_next (gpgme_ctx_t ctx, gpgme_key_t * r_key);
545    gpgme_error_t gpgme_op_keylist_getkey (int listmode, const char *pattern,
546                                           gpgme_key_t *r_key);
547    
548  /* Convenience functions for normal usage */  /* Convenience functions for normal usage */
549  gpgme_error_t gpgme_op_encrypt ( gpgme_ctx_t c, gpgme_recipients_t recp,  gpgme_error_t gpgme_op_encrypt ( gpgme_ctx_t c, gpgme_recipients_t recp,
# Line 664  void gpgme_keycache_set_cb (gpgme_keycac Line 667  void gpgme_keycache_set_cb (gpgme_keycac
667                              void (*cb)(void *, const char *, int, unsigned, unsigned),                              void (*cb)(void *, const char *, int, unsigned, unsigned),
668                              void * cb_value1, int cb_value2);                              void * cb_value1, int cb_value2);
669  int gpgme_keycache_add_key (gpgme_keycache_t ctx, gpgme_key_t key);  int gpgme_keycache_add_key (gpgme_keycache_t ctx, gpgme_key_t key);
670    gpgme_error_t gpgme_keycache_update_key (gpgme_keycache_t ctx, const char *keyid);
671  gpgme_error_t gpgme_keycache_find_key (gpgme_keycache_t ctx, const char * pattern,  gpgme_error_t gpgme_keycache_find_key (gpgme_keycache_t ctx, const char * pattern,
672                                         int flags, gpgme_key_t * r_key);                                         int flags, gpgme_key_t * r_key);
673  gpgme_error_t gpgme_keycache_delete_key (gpgme_keycache_t ctx,  gpgme_error_t gpgme_keycache_delete_key (gpgme_keycache_t ctx,
# Line 800  void  gpgme_editkey_setpref_set (gpgme_e Line 804  void  gpgme_editkey_setpref_set (gpgme_e
804                                   int uid_idx, const char * passwd);                                   int uid_idx, const char * passwd);
805  gpgme_error_t gpgme_editkey_addrev_set (gpgme_editkey_t ctx, const char * userid,  gpgme_error_t gpgme_editkey_addrev_set (gpgme_editkey_t ctx, const char * userid,
806                                 const char * passwd);                                 const char * passwd);
807  void gpgme_editkey_addphoto_set( gpgme_editkey_t ctx, const char *jpegfile,  void gpgme_editkey_addphoto_set (gpgme_editkey_t ctx, const char *jpegfile,
808                                   const char * passwd );                                   const char * passwd);
809  void gpgme_editkey_enable_set( gpgme_editkey_t ctx );  void gpgme_editkey_enable_set (gpgme_editkey_t ctx);
810  void gpgme_editkey_disable_set( gpgme_editkey_t ctx );  void gpgme_editkey_disable_set (gpgme_editkey_t ctx);
811    void gpgme_editkey_keyserver_set (gpgme_editkey_t ctx, const char *url,
812                                      int uid_idx, const char * passwd);
813    
814    
815  /* Clipboard interface */  /* Clipboard interface */
816  gpgme_error_t gpgme_clip_istext_avail( int *r_rc );  gpgme_error_t gpgme_clip_istext_avail (int *r_rc);
817  gpgme_error_t gpgme_clip_is_secured( gpgme_cliptype_t *r_type, int *r_rc );  gpgme_error_t gpgme_clip_is_secured (gpgme_pgptype_t *r_type, int *r_rc);
818  gpgme_error_t gpgme_clip_get_pgptype( gpgme_cliptype_t *r_type );  gpgme_error_t gpgme_clip_get_pgptype (gpgme_pgptype_t *r_type);
819  gpgme_error_t gpgme_clip_parse_pgpid( const char *data, gpgme_cliptype_t *r_type );  gpgme_error_t gpgme_clip_parse_pgpid (const char *data, gpgme_pgptype_t *r_type );
820  gpgme_error_t gpgme_clip_do_check( int *r_rc );  gpgme_error_t gpgme_clip_do_check (int *r_rc);
821    
822  #ifdef __cplusplus  #ifdef __cplusplus
823  }  }

Legend:
Removed from v.7  
changed lines
  Added in v.17

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26