/[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 17 by twoaday, Fri May 20 08:38:32 2005 UTC revision 22 by twoaday, Wed Aug 10 11:33:35 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 "20050418ts"  #define GPGME_VERSION "20050806ts"
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 193  typedef enum { Line 193  typedef enum {
193      GPGME_ATTR_CAN_AUTH     = 31,      GPGME_ATTR_CAN_AUTH     = 31,
194      GPGME_ATTR_DIVERT_CARD  = 32,      GPGME_ATTR_DIVERT_CARD  = 32,
195      GPGME_ATTR_KEYSERVER    = 33,      GPGME_ATTR_KEYSERVER    = 33,
196        GPGME_ATTR_VERSION      = 34,
197    
198      GPGME_ATTR_KEYDAT_NP    = 50,      GPGME_ATTR_KEYDAT_NP    = 50,
199      GPGME_ATTR_KEYDAT_BITS  = 51,      GPGME_ATTR_KEYDAT_BITS  = 51,
# Line 542  unsigned long gpgme_key_get_ulong_attr( Line 543  unsigned long gpgme_key_get_ulong_attr(
543  gpgme_error_t gpgme_op_keylist_start (gpgme_ctx_t ctx,  gpgme_error_t gpgme_op_keylist_start (gpgme_ctx_t ctx,
544                                        const char *pattern, int secret_only);                                        const char *pattern, int secret_only);
545  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);
546  gpgme_error_t gpgme_op_keylist_getkey (int listmode, const char *pattern,  gpgme_error_t gpgme_op_keylist_getkey (int is_sec, const char *pattern,
547                                         gpgme_key_t *r_key);                                         gpgme_key_t *r_key);
548    
549  /* Convenience functions for normal usage */  /* Convenience functions for normal usage */
# Line 589  gpgme_error_t gpgme_op_clip_verify_detac Line 590  gpgme_error_t gpgme_op_clip_verify_detac
590    
591  gpgme_error_t gpgme_op_import( gpgme_ctx_t ctx, gpgme_recipients_t selkeys,  gpgme_error_t gpgme_op_import( gpgme_ctx_t ctx, gpgme_recipients_t selkeys,
592                                 gpgme_data_t keydata );                                 gpgme_data_t keydata );
593  gpgme_error_t gpgme_op_clip_import( int ctrl, gpgme_recipients_t selkeys,  gpgme_error_t gpgme_op_clip_import (gpgme_recipients_t selkeys,
594                                      int * import_res );                                      int * import_res);
595  gpgme_error_t gpgme_op_file_import( gpgme_ctx_t ctx, gpgme_recipients_t selkeys,  gpgme_error_t gpgme_op_file_import( gpgme_ctx_t ctx, gpgme_recipients_t selkeys,
596                                      const char *input );                                      const char *input );
597  gpgme_error_t gpgme_op_import_list( gpgme_ctx_t ctx, gpgme_data_t in,  gpgme_error_t gpgme_op_import_list( gpgme_ctx_t ctx, gpgme_data_t in,
# Line 666  void gpgme_keycache_release (gpgme_keyca Line 667  void gpgme_keycache_release (gpgme_keyca
667  void gpgme_keycache_set_cb (gpgme_keycache_t ctx,  void gpgme_keycache_set_cb (gpgme_keycache_t ctx,
668                              void (*cb)(void *, const char *, int, unsigned, unsigned),                              void (*cb)(void *, const char *, int, unsigned, unsigned),
669                              void * cb_value1, int cb_value2);                              void * cb_value1, int cb_value2);
670  int gpgme_keycache_add_key (gpgme_keycache_t ctx, gpgme_key_t key);  gpgme_error_t gpgme_keycache_add_key (gpgme_keycache_t ctx, gpgme_key_t key,
671  gpgme_error_t gpgme_keycache_update_key (gpgme_keycache_t ctx, const char *keyid);                                        void **opaque);
672    gpgme_error_t gpgme_keycache_update_key (gpgme_keycache_t ctx, int is_sec,
673                                             void *opaque, const char *keyid);
674  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,
675                                         int flags, gpgme_key_t * r_key);                                         int flags, gpgme_key_t * r_key);
676  gpgme_error_t gpgme_keycache_delete_key (gpgme_keycache_t ctx,  gpgme_error_t gpgme_keycache_delete_key (gpgme_keycache_t ctx,
# Line 678  gpgme_error_t gpgme_keycache_next_key (g Line 681  gpgme_error_t gpgme_keycache_next_key (g
681                                         gpgme_key_t * r_key);                                         gpgme_key_t * r_key);
682  void gpgme_keycache_rewind( gpgme_keycache_t ctx );  void gpgme_keycache_rewind( gpgme_keycache_t ctx );
683  int gpgme_keycache_count( gpgme_keycache_t ctx );  int gpgme_keycache_count( gpgme_keycache_t ctx );
684  gpgme_error_t gpgme_keycache_prepare( gpgme_keycache_t ctx,  gpgme_error_t gpgme_keycache_prepare (gpgme_keycache_t ctx,
685                                      const char *pubring, const char * secring );                                        const char *pubring, const char * secring);
686    gpgme_error_t gpgme_keycache_prepare_single (gpgme_keycache_t ctx,
687                                                 const char *keyid,
688                                                 const char *pubr,
689                                                 const char *secr);
690  gpgme_error_t gpgme_keycache_sync (gpgme_keycache_t pub, gpgme_keycache_t sec);  gpgme_error_t gpgme_keycache_sync (gpgme_keycache_t pub, gpgme_keycache_t sec);
691  int gpgme_getkey_bykeyid( void *fd_handle, const char * keyid, gpgme_key_t *r_key );  int gpgme_getkey_bykeyid (void *fd_handle, const char * keyid, gpgme_key_t *r_key);
692    
693    
694  /* Ownertrust */  /* Ownertrust */

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26