diff options
author | Werner Koch <[email protected]> | 2015-04-06 17:46:25 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-04-06 17:46:25 +0000 |
commit | 67a58118ab6171c0cf28b65a39973062690d1313 (patch) | |
tree | 3ab685c735c7996351884f97664b3797d0111e92 /tools/rfc822parse.c | |
parent | gpg: Merge duplicated code for get_user_id et al. (diff) | |
download | gnupg-67a58118ab6171c0cf28b65a39973062690d1313.tar.gz gnupg-67a58118ab6171c0cf28b65a39973062690d1313.zip |
gpg: Prepare to pass additional context to the list functions.
* g10/keylist.c (struct sig_stats): Rename to keylist_context and add
field check_sigs.
(keylist_context_release): New.
(list_all): Set listctx.check_sigs and call release func.
(list_one): Ditto.
(locate_one): Ditto.
(list_keyblock_print): Use .check_sigs field. Repalce arg opaque by
listctx.
(list_keyblock): Ditto. Make static.
(list_keyblock_direct): New.
* g10/keygen.c (do_generate_keypair): Replace list_keyblock by
list_keyblock_direct.
--
This is in preparation for the server mode and for a patch to speed up
--list-sigs.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tools/rfc822parse.c')
0 files changed, 0 insertions, 0 deletions