aboutsummaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2008-10-03 20:00:46 +0000
committerDavid Shaw <[email protected]>2008-10-03 20:00:46 +0000
commit1b86ee9806f4fbb37a4499717c003b0eb837183a (patch)
tree292b46efca6716eae193fbb9501b6a7f5a9d1f35 /g10/main.h
parentAdd /daatfile command to gpg-connect-agent. (diff)
downloadgnupg-1b86ee9806f4fbb37a4499717c003b0eb837183a.tar.gz
gnupg-1b86ee9806f4fbb37a4499717c003b0eb837183a.zip
* main.h, mainproc.c (check_sig_and_print), keylist.c
(list_keyblock_print), pkclist.c (do_edit_ownertrust), keyedit.c (menu_showphoto), photoid.c (generate_photo_id, show_photos), misc.c (pct_expando): Add %v and %V expandos so that displaying photo IDs can show the attribute validity tag (%v) and string (%V). Originally by Daniel Gillmor.
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/main.h b/g10/main.h
index f34e4b381..d6b5a967e 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -1,6 +1,6 @@
/* main.h
- * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
- * 2006 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+ * 2008 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -101,6 +101,8 @@ struct expando_args
PKT_public_key *pk;
PKT_secret_key *sk;
byte imagetype;
+ int validity_info;
+ const char *validity_string;
};
char *pct_expando(const char *string,struct expando_args *args);