/[winpt]/trunk/Include/wptKeyCache.h
ViewVC logotype

Diff of /trunk/Include/wptKeyCache.h

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

revision 181 by twoaday, Thu Jan 26 10:17:17 2006 UTC revision 182 by twoaday, Tue Mar 14 11:02:32 2006 UTC
# Line 25  enum keycache_flag_t { Line 25  enum keycache_flag_t {
25      KC_FLAG_UPD = 2      KC_FLAG_UPD = 2
26  };  };
27    
28    /* key specifc attributes. */
29    enum keycache_attr_t {
30        KC_ATTR_PREFSYM     = 11,
31        KC_ATTR_PREFKSERV   = 24
32    };
33    
34    
35  struct keycache_s {  struct keycache_s {
36      struct keycache_s *next;      struct keycache_s *next;
37      int flags;      int flags;
# Line 43  struct keycache_s { Line 50  struct keycache_s {
50          gpgme_validity_t validity;  /* attribute id validity. */          gpgme_validity_t validity;  /* attribute id validity. */
51      } attrib;      } attrib;
52      unsigned char *sym_prefs;/* symmetric cipher preferences. */      unsigned char *sym_prefs;/* symmetric cipher preferences. */
53        char *pref_keyserver;   /* if != NULL preferred keyserver. */
54      char *card_type;        /* if != NULL key stored on smart card. */      char *card_type;        /* if != NULL key stored on smart card. */
55  };  };
56    
# Line 95  gpgme_error_t gpg_keycache_set_default_k Line 103  gpgme_error_t gpg_keycache_set_default_k
103                                              const char *pattern);                                              const char *pattern);
104  gpgme_error_t gpg_keycache_get_default_key (gpg_keycache_t ctx,  gpgme_error_t gpg_keycache_get_default_key (gpg_keycache_t ctx,
105                                              gpgme_key_t *r_key);                                              gpgme_key_t *r_key);
106    gpgme_error_t gpg_keycache_update_attr (struct keycache_s *item,
107                                            int attr, int force);
108    
109  #endif /*WPT_KEYCACHE_H*/  #endif /*WPT_KEYCACHE_H*/

Legend:
Removed from v.181  
changed lines
  Added in v.182

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26