20 |
#ifndef WPT_KEYCACHE_H |
#ifndef WPT_KEYCACHE_H |
21 |
#define WPT_KEYCACHE_H |
#define WPT_KEYCACHE_H |
22 |
|
|
23 |
|
enum keycache_flag_t { |
24 |
|
KC_FLAG_ADD = 1, |
25 |
|
KC_FLAG_UPD = 2 |
26 |
|
}; |
27 |
|
|
28 |
struct keycache_s { |
struct keycache_s { |
29 |
struct keycache_s * next; |
struct keycache_s * next; |
30 |
int flags; |
int flags; |
85 |
const char *secr); |
const char *secr); |
86 |
gpgme_error_t gpg_keycache_sync (gpg_keycache_t pub, gpg_keycache_t sec); |
gpgme_error_t gpg_keycache_sync (gpg_keycache_t pub, gpg_keycache_t sec); |
87 |
gpgme_error_t gpg_keycache_next_updated_key (gpg_keycache_t ctx, |
gpgme_error_t gpg_keycache_next_updated_key (gpg_keycache_t ctx, |
88 |
struct keycache_s **r_obj); |
struct keycache_s **r_obj, |
89 |
|
int *r_status); |
90 |
|
|
91 |
#endif /*WPT_KEYCACHE_H*/ |
#endif /*WPT_KEYCACHE_H*/ |