aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-02-06 17:38:43 +0000
committerDavid Shaw <[email protected]>2005-02-06 17:38:43 +0000
commit2dbfc709adac559bf1f172de4ff595a815bd7d27 (patch)
treeda4d7f8d3893c66d4e5207b796b84d7cef88a52a /g10/trustdb.h
parent* gpg.sgml: Note that level 0 signatures are always accepted (diff)
downloadgnupg-2dbfc709adac559bf1f172de4ff595a815bd7d27.tar.gz
gnupg-2dbfc709adac559bf1f172de4ff595a815bd7d27.zip
* trustdb.h, trustdb.c (trustdb_check_or_update): New. If the trustdb
is dirty and --interactive is set, do an --update-trustdb. If not interactive, do a --check_trustdb unless --no-auto-check-trustdb is set. * import.c (import_keys_internal): Moved from here. * keyserver.c (keyserver_refresh): Call it here after all refreshing has happened so that we don't rebuild after each preferred keyserver set of imports, but do one big rebuild at the end. This is Debian bug #293816, noted by Kurt Roeckx.
Diffstat (limited to 'g10/trustdb.h')
-rw-r--r--g10/trustdb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/trustdb.h b/g10/trustdb.h
index baeab3fa4..8bcaae51e 100644
--- a/g10/trustdb.h
+++ b/g10/trustdb.h
@@ -1,6 +1,6 @@
/* trustdb.h - Trust database
- * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003,
- * 2004 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+ * 2005 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -53,6 +53,7 @@ int string_to_trust_value (const char *str);
void revalidation_mark (void);
int trustdb_pending_check(void);
+void trustdb_check_or_update(void);
int cache_disabled_value(PKT_public_key *pk);