Add GPGME_PROTOCOL_SPAWN and gpgme_op_spawn.
authorWerner Koch <wk@gnupg.org>
Thu, 10 Apr 2014 11:01:00 +0000 (13:01 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 10 Apr 2014 11:01:00 +0000 (13:01 +0200)
commit4f2d652e60700e03809307a10015ff9003ac3579
tree9abc417b8a7ba1fca91c0986e921288480441d84
parent77931a9a1468b0cfbaafd4153867d90764a6d258
Add GPGME_PROTOCOL_SPAWN and gpgme_op_spawn.

* src/gpgme.h.in (GPGME_PROTOCOL_SPAWN): New.
(GPGME_SPAWN_DETACHED, GPGME_SPAWN_ALLOW_SET_FG): New.
* src/gpgme.c (gpgme_set_protocol): Add new protocol.
(gpgme_get_protocol_name): Ditto.
* src/spawn.c: New.
* src/libgpgme.vers, src/gpgme.def: Add new public functions.
* src/engine-spawn.c: New.
* src/Makefile.am: Add new files.
* src/engine-backend.h (struct engine_ops): Add OPSPAWN.
* src/engine.c (engine_ops): Add _gpgme_engine_ops_spawn.
(gpgme_get_engine_info): Add Spawn to the list of protocols.
(_gpgme_engine_op_spawn): New.

* src/gpgme-tool.c (gt_protocol_from_name): Add new protocol.
(gt_spawn, cmd_spawn): New.
19 files changed:
NEWS
doc/gpgme.texi
src/Makefile.am
src/engine-assuan.c
src/engine-backend.h
src/engine-g13.c
src/engine-gpg.c
src/engine-gpgconf.c
src/engine-gpgsm.c
src/engine-spawn.c [new file with mode: 0644]
src/engine-uiserver.c
src/engine.c
src/engine.h
src/gpgme-tool.c
src/gpgme.c
src/gpgme.def
src/gpgme.h.in
src/libgpgme.vers
src/spawn.c [new file with mode: 0644]