aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyring.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-01-20 16:09:38 +0000
committerDavid Shaw <[email protected]>2004-01-20 16:09:38 +0000
commit0fb284ac24a010e6029f01494f44ab907bb5e79b (patch)
tree0e883c0e947e7a8509ce7c37f776f5259abb2fa0 /g10/keyring.h
parent* sig-check.c (check_key_signature2): Comments. (diff)
downloadgnupg-0fb284ac24a010e6029f01494f44ab907bb5e79b.tar.gz
gnupg-0fb284ac24a010e6029f01494f44ab907bb5e79b.zip
* g10.c (main), keydb.h, keydb.c (keydb_rebuild_caches), keyring.h,
keyring.c (keyring_rebuild_cache): Add "noisy" flag so cache rebuilds can remain noisy when called for itself, and quiet when called as part of the trustdb rebuild. * trustdb.c (validate_keys): Rebuild the sig caches before building the trustdb. Note that this is going to require some architectual re-thinking, as it is agonizingly slow.
Diffstat (limited to 'g10/keyring.h')
-rw-r--r--g10/keyring.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/keyring.h b/g10/keyring.h
index 528557a70..9b63f3235 100644
--- a/g10/keyring.h
+++ b/g10/keyring.h
@@ -23,7 +23,6 @@
#include "global.h"
-
typedef struct keyring_handle *KEYRING_HANDLE;
int keyring_register_filename (const char *fname, int secret, void **ptr);
@@ -41,6 +40,6 @@ int keyring_delete_keyblock (KEYRING_HANDLE hd);
int keyring_search_reset (KEYRING_HANDLE hd);
int keyring_search (KEYRING_HANDLE hd, KEYDB_SEARCH_DESC *desc,
size_t ndesc, size_t *descindex);
-int keyring_rebuild_cache (void *);
+int keyring_rebuild_cache (void *token,int noisy);
#endif /*GPG_KEYRING_H*/