summaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-04-15 16:40:48 +0200
committerWerner Koch <wk@gnupg.org>2014-04-17 21:44:09 +0200
commite184a11f94e2d41cd9266484542631bec23628b5 (patch)
tree3be1b428fd499e94afa9fda630fb06fdb7c941e1 /g10/main.h
parentcommon: Add z-base-32 encoder. (diff)
downloadgnupg2-e184a11f94e2d41cd9266484542631bec23628b5.tar.xz
gnupg2-e184a11f94e2d41cd9266484542631bec23628b5.zip
gpg: New %U expando for the photo viewer.
* g10/photoid.c (show_photos): Set namehash. * g10/misc.c (pct_expando): Add "%U" expando. -- This makes is possible to extract all photos ids from a key to different files.
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h
index 04abb4fa2..d8b9a4db5 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -119,6 +119,7 @@ struct expando_args
byte imagetype;
int validity_info;
const char *validity_string;
+ const byte *namehash;
};
char *pct_expando(const char *string,struct expando_args *args);