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>