aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-05-30 03:43:30 +0000
committerDavid Shaw <[email protected]>2005-05-30 03:43:30 +0000
commitacac94aa90349840fdb9387cc2813d5420f9a71b (patch)
tree81c7ff4244335b1ee1e3fe39c5c2d73d56a53e2a /g10/trustdb.h
parent* g10.c (main): Default {export|import}-unusable-sigs to off until the (diff)
downloadgnupg-acac94aa90349840fdb9387cc2813d5420f9a71b.tar.gz
gnupg-acac94aa90349840fdb9387cc2813d5420f9a71b.zip
* trustdb.h, trustdb.c (clean_uids_from_key): New. Walk through the
user IDs on a key, and mark any that aren't valid for deletion. * keyedit.c (menu_clean_uids_from_key): New function to call clean_uids_from_key() on a key. (keyedit_menu): Call it from here as part of the "clean" command.
Diffstat (limited to 'g10/trustdb.h')
-rw-r--r--g10/trustdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/trustdb.h b/g10/trustdb.h
index a9f98c712..b914063b1 100644
--- a/g10/trustdb.h
+++ b/g10/trustdb.h
@@ -81,7 +81,8 @@ const char *get_ownertrust_string (PKT_public_key *pk);
void update_ownertrust (PKT_public_key *pk, unsigned int new_trust );
int clear_ownertrusts (PKT_public_key *pk);
-int clean_uid(KBNODE keyblock,KBNODE uidnode,int noisy);
+int clean_sigs_from_uid(KBNODE keyblock,KBNODE uidnode,int noisy);
+int clean_uids_from_key(KBNODE keyblock,int noisy);
/*-- tdbdump.c --*/
void list_trustdb(const char *username);