aboutsummaryrefslogtreecommitdiffstats
path: root/g10/tdbio.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-04-26 20:38:16 +0000
committerDavid Shaw <[email protected]>2003-04-26 20:38:16 +0000
commita01bda6abdaa7e693b9637d3f467c348d0160db5 (patch)
tree3143855966cee066a9abdb25739229494b662f52 /g10/tdbio.h
parent* config.links: Re-disable assembler on Darwin. Darwin 6.5 broke it (diff)
downloadgnupg-a01bda6abdaa7e693b9637d3f467c348d0160db5.tar.gz
gnupg-a01bda6abdaa7e693b9637d3f467c348d0160db5.zip
* sign.c (do_sign): Show the hash used when making a signature in verbose
mode. * tdbio.h, tdbio.c (tdbio_read_model): New function to return the trust model used in a given trustdb. * options.h, g10.c (main), trustdb.c (init_trustdb, check_trustdb, update_trustdb): Use tdbio_read_model to implement an "auto" trust model which is set via the trustdb.
Diffstat (limited to 'g10/tdbio.h')
-rw-r--r--g10/tdbio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/tdbio.h b/g10/tdbio.h
index 26503dc0d..aa2e950ee 100644
--- a/g10/tdbio.h
+++ b/g10/tdbio.h
@@ -99,6 +99,7 @@ void tdbio_dump_record( TRUSTREC *rec, FILE *fp );
int tdbio_read_record( ulong recnum, TRUSTREC *rec, int expected );
int tdbio_write_record( TRUSTREC *rec );
int tdbio_db_matches_options(void);
+byte tdbio_read_model(void);
ulong tdbio_read_nextcheck (void);
int tdbio_write_nextcheck (ulong stamp);
int tdbio_is_dirty(void);