Home GnuPG
Diffusion GnuPG 6380126b31aa

scd: Add some compatibility code for easier backporting.

Description

scd: Add some compatibility code for easier backporting.

* scd/app-common.h (APP_WRITEKEY_FLAG_FORCE): New.
(APP_READKEY_FLAG_INFO): New.
(APP_LEARN_FLAG_KEYPAIRINFO): New.
(APP_LEARN_FLAG_MULTI): New.
(struct app_ctx_s): New forward declaration.
(struct app_ctx_s): Add members prep_reselect, reselect, and
with_keygrip.
(KEYGRIP_ACTION_SEND_DATA): New.
(KEYGRIP_ACTION_WRITE_STATUS): New.
(KEYGRIP_ACTION_LOOKUP): New.
(APP_CARD): New macro.
* scd/scdaemon.h: Include app-common.h and remove from all other
files.
(app_t): Move typedef to ...
* scd/app-common.h: here.

These changes will make it easier to backport changes from 2.3 to 2.2.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 18 2021, 6:50 PM
Parents
rG55f46b33df08: dirmngr: Support new gpgNtds parameter in LDAP keyserver URLs.
Branches
Unknown
Tags
Unknown