core: Remove cruft from the engine-gpg code.
authorWerner Koch <wk@gnupg.org>
Thu, 31 May 2018 22:13:18 +0000 (00:13 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 31 May 2018 22:13:53 +0000 (00:13 +0200)
commite2aa38b56a991a0da052acfe7566cc7a146d3bb6
tree8abbd8519eda5cebdd2751b32ba4aeb86f3bf8ed
parent2219fc19d58ae1071493de92093b711f3c71454a
core: Remove cruft from the engine-gpg code.

* src/engine-gpg.c (read_status): Remove the handling of
GPGME_STATUS_END_STREAM; this was used only by the former experimental
--pipemode of gpg but that is not even anymore invoked here.
(struct engine_gpg): Remove cmd.linked_data and .linked_idx.
(build_argv): Remove code for linked_data.
(gpg_new): Ditto.
(gpg_set_command_handler): Remove arr linked_data.
* src/engine-backend.h (engine_ops): Remove arg data from
set_command_handler.
* src/engine.c (_gpgme_engine_set_command_handler): Remove arg
linked_data and adjust all callers.

Signed-off-by: Werner Koch <wk@gnupg.org>
13 files changed:
src/decrypt-verify.c
src/decrypt.c
src/edit.c
src/encrypt-sign.c
src/encrypt.c
src/engine-backend.h
src/engine-gpg.c
src/engine.c
src/engine.h
src/genkey.c
src/keysign.c
src/passwd.c
src/sign.c