diff options
author | Werner Koch <wk@gnupg.org> | 1998-07-29 21:35:05 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-07-29 21:35:05 +0200 |
commit | 5ae562b41d9e3ec965643b902bf8593c8ca5a2d7 (patch) | |
tree | 059ed09c380b3f534479add19933dbe9a7a401c9 /g10/tdbio.h | |
parent | changed trustdb design (diff) | |
download | gnupg2-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.tar.xz gnupg2-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.zip |
edit-key is now complete
Diffstat (limited to 'g10/tdbio.h')
-rw-r--r-- | g10/tdbio.h | 14 |
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; }; |