1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* 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.
This commit is contained in:
David Shaw 2008-10-03 20:00:46 +00:00
parent af7c1fa134
commit 1b86ee9806
9 changed files with 74 additions and 34 deletions

View file

@ -1,5 +1,5 @@
/* photoid.h
* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
* Copyright (C) 2001, 2002, 2005, 2008 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@ -27,7 +27,7 @@
PKT_user_id *generate_photo_id(PKT_public_key *pk,const char *filename);
int parse_image_header(const struct user_attribute *attr,byte *type,u32 *len);
char *image_type_to_string(byte type,int style);
void show_photos(const struct user_attribute *attrs,
int count,PKT_public_key *pk,PKT_secret_key *sk);
void show_photos(const struct user_attribute *attrs,int count,
PKT_public_key *pk,PKT_secret_key *sk,PKT_user_id *uid);
#endif /* !_PHOTOID_H_ */