summaryrefslogtreecommitdiffstats
path: root/g10/tdbio.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-10-07 15:30:43 +0200
committerWerner Koch <wk@gnupg.org>1998-10-07 15:30:43 +0200
commit786a2870dfc48e9676476a5604a5115f4fe8c5e5 (patch)
treeb9ba3bb28e0c65e129994b4526a5c98519c756e0 /g10/tdbio.h
parentwindoze version works again (diff)
downloadgnupg2-786a2870dfc48e9676476a5604a5115f4fe8c5e5.tar.xz
gnupg2-786a2870dfc48e9676476a5604a5115f4fe8c5e5.zip
a new releaseV0-4-1
Diffstat (limited to 'g10/tdbio.h')
-rw-r--r--g10/tdbio.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/g10/tdbio.h b/g10/tdbio.h
index 0cbb851f2..b59b4e40e 100644
--- a/g10/tdbio.h
+++ b/g10/tdbio.h
@@ -42,6 +42,7 @@
#define RECTYPE_CACH 9
#define RECTYPE_HTBL 10
#define RECTYPE_HLST 11
+#define RECTYPE_FREE 254
#define DIRF_CHECKED 1 /* everything has been checked, the other bits are
@@ -58,9 +59,8 @@
struct trust_record {
int rectype;
- struct trust_record *next; /* help pointer to build lists in memory */
- struct trust_record *help_pref;
int mark;
+ struct trust_record *next; /* help pointer to build lists in memory */
ulong recnum;
union {
struct { /* version record: */
@@ -69,7 +69,11 @@ struct trust_record {
ulong modified; /* timestamp of last modification */
ulong validated; /* timestamp of last validation */
ulong keyhashtbl;
+ ulong firstfree;
} ver;
+ struct { /* free record */
+ ulong next;
+ } free;
struct { /* directory record */
ulong lid;
ulong keylist; /* List of keys (the first is the primary key)*/