aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keydb.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-02-11 04:32:52 +0000
committerDavid Shaw <[email protected]>2004-02-11 04:32:52 +0000
commit7198879ca8db7e5281a1503f1ed1636dc2c5c24f (patch)
tree29665490c870eb0e3b285f3704ef065d29fe982c /g10/keydb.h
parent* keygen.c (keygen_set_std_prefs): Build the default preferences list at (diff)
downloadgnupg-7198879ca8db7e5281a1503f1ed1636dc2c5c24f.tar.gz
gnupg-7198879ca8db7e5281a1503f1ed1636dc2c5c24f.zip
* keyedit.c (keyedit_menu): Prompt for subkey removal for both secret and
public subkeys. * keylist.c (list_keyblock_print), keyedit.c (show_key_with_all_names): Show the revocation date of a key/subkey, and general formatting work. * packet.h, getkey.c (merge_selfsigs_main, merge_selfsigs_subkey, merge_selfsigs): Keep track of the revocation date of a key. * keydb.h, keyid.c (revokestr_from_pk): New function to print the revocation date of a key.
Diffstat (limited to 'g10/keydb.h')
-rw-r--r--g10/keydb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/keydb.h b/g10/keydb.h
index fab9eaac1..3d4db63c2 100644
--- a/g10/keydb.h
+++ b/g10/keydb.h
@@ -1,5 +1,6 @@
/* keydb.h - Key database
- * Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001, 2003,
+ * 2004 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -251,6 +252,7 @@ const char *datestr_from_sig( PKT_signature *sig );
const char *expirestr_from_pk( PKT_public_key *pk );
const char *expirestr_from_sk( PKT_secret_key *sk );
const char *expirestr_from_sig( PKT_signature *sig );
+const char *revokestr_from_pk( PKT_public_key *pk );
const char *colon_strtime (u32 t);
const char *colon_datestr_from_pk (PKT_public_key *pk);
const char *colon_datestr_from_sk (PKT_secret_key *sk);