aboutsummaryrefslogtreecommitdiffstats
path: root/g10/trustdb.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-05-29 11:53:54 +0000
committerWerner Koch <[email protected]>1998-05-29 11:53:54 +0000
commite284277f0490a4606b99f3de5fdc3053084b99dd (patch)
treef9a5e6a69e82a5efe339ccdaa09664fa0679b066 /g10/trustdb.h
parentadd-key works (diff)
downloadgnupg-0-2-19.tar.gz
gnupg-0-2-19.zip
*** empty log message ***V0-2-19
Diffstat (limited to '')
-rw-r--r--g10/trustdb.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/g10/trustdb.h b/g10/trustdb.h
index 7ffcd4426..a9b1e587e 100644
--- a/g10/trustdb.h
+++ b/g10/trustdb.h
@@ -24,15 +24,15 @@
/* Trust values must be sorted in ascending order */
#define TRUST_MASK 15
-#define TRUST_UNKNOWN 0 /* not yet calculated */
-#define TRUST_EXPIRED 1 /* calculation may be invalid */
-#define TRUST_UNDEFINED 2 /* not enough information for calculation */
-#define TRUST_NEVER 3 /* never trust this pubkey */
-#define TRUST_MARGINAL 4 /* marginally trusted */
-#define TRUST_FULLY 5 /* fully trusted */
-#define TRUST_ULTIMATE 6 /* ultimately trusted */
+#define TRUST_UNKNOWN 0 /* o: not yet calculated */
+#define TRUST_EXPIRED 1 /* e: calculation may be invalid */
+#define TRUST_UNDEFINED 2 /* q: not enough information for calculation */
+#define TRUST_NEVER 3 /* n: never trust this pubkey */
+#define TRUST_MARGINAL 4 /* m: marginally trusted */
+#define TRUST_FULLY 5 /* f: fully trusted */
+#define TRUST_ULTIMATE 6 /* u: ultimately trusted */
/* trust values not covered by the mask */
-#define TRUST_FLAG_REVOKED 32
+#define TRUST_FLAG_REVOKED 32 /* r: revoked */
/*-- trustdb.c --*/
@@ -40,6 +40,7 @@ void list_trustdb(const char *username);
void list_trust_path( int max_depth, const char *username );
int init_trustdb( int level, const char *dbname );
int check_trust( PKT_public_cert *pkc, unsigned *r_trustlevel );
+int query_trust_info( PKT_public_cert *pkc );
int enum_trust_web( void **context, ulong *lid );
int get_ownertrust( ulong lid, unsigned *r_otrust );
int keyid_from_trustdb( ulong lid, u32 *keyid );