mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Allow to cache the mbox in a user id struct.
* g10/packet.h (PKT_user_id): Add field 'mbox'. * g10/free-packet.c (free_user_id): Free that. -- This will be required by the coming import filter. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
d8bce478be
commit
f015552374
2 changed files with 2 additions and 0 deletions
|
@ -291,6 +291,7 @@ typedef struct
|
|||
unsigned int ks_modify:1;
|
||||
unsigned int compacted:1;
|
||||
} flags;
|
||||
char *mbox; /* NULL or the result of mailbox_from_userid. */
|
||||
/* The text contained in the user id packet, which is normally the
|
||||
name and email address of the key holder (See RFC 4880 5.11).
|
||||
(Serialized.). For convenience an extra Nul is always appended. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue