Home GnuPG

Use the new gpgme_op_interact interface.

Description

Use the new gpgme_op_interact interface.

* src/gpgmeedit.c (CMP_STATUS): New macro.  Use this instead of the
direct integer compares.
(status_type_t): New type alias.  Use it instead of
gpgme_status_code_t.
(edit_fnc) [USE_GPGME_INTERACT]: Compare a against a string list.
(gpa_gpgme_edit_trust_start) [USE_GPGME_INTERACT]: Use the new API.
(gpa_gpgme_edit_expire_start) [USE_GPGME_INTERACT]: Ditto.
(gpa_gpgme_edit_sign_start) [USE_GPGME_INTERACT]: Ditto.
(gpa_gpgme_edit_passwd_start) [USE_GPGME_INTERACT]: Ditto.
(gpa_gpgme_card_edit_genkey_start) [USE_GPGME_INTERACT]: Ditto.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 13 2017, 8:55 AM
Parents
rGPA7fb061b1d784: Fix listing of algorithm/keysize in the subkey window.
Branches
Unknown
Tags
Unknown