summaryrefslogtreecommitdiffstats
path: root/g10/tdbio.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-07-29 21:35:05 +0200
committerWerner Koch <wk@gnupg.org>1998-07-29 21:35:05 +0200
commit5ae562b41d9e3ec965643b902bf8593c8ca5a2d7 (patch)
tree059ed09c380b3f534479add19933dbe9a7a401c9 /g10/tdbio.h
parentchanged trustdb design (diff)
downloadgnupg2-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.tar.xz
gnupg2-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.zip
edit-key is now complete
Diffstat (limited to 'g10/tdbio.h')
-rw-r--r--g10/tdbio.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/g10/tdbio.h b/g10/tdbio.h
index 8eec40e4a..c37c3ac1f 100644
--- a/g10/tdbio.h
+++ b/g10/tdbio.h
@@ -60,15 +60,12 @@ struct trust_record {
int mark;
ulong recnum;
union {
- struct { /* version record: */
- byte version; /* should be 1 */
- ulong locked; /* pid of process which holds a lock */
+ struct { /* version record: */
+ byte version; /* should be 2 */
ulong created; /* timestamp of trustdb creation */
ulong modified; /* timestamp of last modification */
ulong validated; /* timestamp of last validation */
- byte marginals_needed;
- byte completes_needed;
- byte max_cert_depth;
+ ulong keyhashtbl;
} ver;
struct { /* directory record */
ulong lid;
@@ -117,10 +114,7 @@ struct trust_record {
} htbl;
struct {
ulong next;
- struct {
- byte hash;
- ulong rnum;
- } item[ITEMS_PER_HLST_RECORD];
+ ulong rnum[ITEMS_PER_HLST_RECORD]; /* of a key record */
} hlst;
} r;
};