aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-01-11 03:57:00 +0000
committerDavid Shaw <[email protected]>2003-01-11 03:57:00 +0000
commit8b3b70499a26300930b1414cb0445d24ba9530eb (patch)
tree3cebfbec28186f5c96c67ec43e640d76b3c87b3d /g10/trustdb.h
parentUpdated from latest NewPG project (diff)
downloadgnupg-8b3b70499a26300930b1414cb0445d24ba9530eb.tar.gz
gnupg-8b3b70499a26300930b1414cb0445d24ba9530eb.zip
* armor.c (armor_filter): Comment about PGP's end of line tab problem.
* trustdb.h, trustdb.c (trust_letter): Make static. (get_ownertrust_info, get_validity_info): Don't mask the trust level twice. * trustdb.h, gpgv.c, trustdb.c (get_validity, get_validity_info), keylist.c (list_keyblock_colon), keyedit.c (show_key_with_all_names_colon, menu_revuid): Pass a user ID in rather than a namehash, so we only have to do the hashing in one place. * packet.h, pkclist.c (build_pk_list), free-packet.c (release_public_key_parts): Remove unused namehash element for public keys.
Diffstat (limited to 'g10/trustdb.h')
-rw-r--r--g10/trustdb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/trustdb.h b/g10/trustdb.h
index 3ca674ece..caedc7fa4 100644
--- a/g10/trustdb.h
+++ b/g10/trustdb.h
@@ -1,5 +1,6 @@
/* trustdb.h - Trust database
- * Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+ * Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -45,15 +46,14 @@ int setup_trustdb( int level, const char *dbname );
void init_trustdb( void );
void sync_trustdb( void );
-int trust_letter( unsigned value );
const char *trust_string (unsigned int value);
void revalidation_mark (void);
int trustdb_pending_check(void);
int is_disabled(void *dummy,u32 *keyid);
-unsigned int get_validity (PKT_public_key *pk, const byte *namehash);
-int get_validity_info (PKT_public_key *pk, const byte *namehash);
+unsigned int get_validity (PKT_public_key *pk, PKT_user_id *uid);
+int get_validity_info (PKT_public_key *pk, PKT_user_id *uid);
void list_trust_path( const char *username );