diff options
author | David Shaw <[email protected]> | 2004-11-24 05:25:03 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-11-24 05:25:03 +0000 |
commit | 04b715e4dad23f85a38cf72950fbc96e3b33b646 (patch) | |
tree | 7cefccf89f270fe8afa106116c2f93fad5186129 /g10/trustdb.h | |
parent | (S_IRGRP) [HAVE_DOSISH_SYSTEM]: Define to 0. (diff) | |
download | gnupg-04b715e4dad23f85a38cf72950fbc96e3b33b646.tar.gz gnupg-04b715e4dad23f85a38cf72950fbc96e3b33b646.zip |
* trustdb.h, trustdb.c (uid_trust_string_fixed): New. Return a fixed-size
translatable string similar to trust_value_to_string. This allows for
easier lining up of displays.
* keyedit.c (show_key_with_all_names), keylist.c (list_keyblock_print):
Use it here to print validity strings.
* gpgv.c: Stub.
Diffstat (limited to 'g10/trustdb.h')
-rw-r--r-- | g10/trustdb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/trustdb.h b/g10/trustdb.h index ad192758e..baeab3fa4 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 - * Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, + * 2004 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -22,7 +22,6 @@ #ifndef G10_TRUSTDB_H #define G10_TRUSTDB_H - /* Trust values must be sorted in ascending order */ #define TRUST_MASK 15 #define TRUST_UNKNOWN 0 /* o: not yet calculated/assigned */ @@ -48,6 +47,7 @@ void init_trustdb( void ); void check_trustdb_stale(void); void sync_trustdb( void ); +const char *uid_trust_string_fixed(PKT_public_key *key,PKT_user_id *uid); const char *trust_value_to_string (unsigned int value); int string_to_trust_value (const char *str); |