2006-12-17 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Sun, 17 Dec 2006 21:12:40 +0000 (21:12 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Sun, 17 Dec 2006 21:12:40 +0000 (21:12 +0000)
commitc9db21ce69d7fda35da627b0e2752970f69c35e1
tree6811c0f41311ef943b6ad167aed3b80fe4997e1c
parentc4cc79e750ecbfa769980f03d44d0a6e9a360703
2006-12-17  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Fix two typos in last change.

gpgme/
2006-12-17  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.c (gpgme_set_protocol): Shut down the engine when
switching protocols.
(gpgme_ctx_set_engine_info): Likewise for engine info.
* engine.h (_gpgme_engine_reset): New function prototype.
* engine.c (_gpgme_engine_reset): New function.
* engine-backend.h (struct engine_ops): New member RESET.
* rungpg.c (_gpgme_engine_ops_gpg): Add NULL for reset function.
* engine-gpgsm.c (_gpgme_engine_ops_gpgsm)
[USE_DESCRIPTOR_PASSING]: Add gpgsm_reset for reset.
(_gpgme_engine_ops_gpgsm) [!USE_DESCRIPTOR_PASSING]: Add NULL for
reset function.
(gpgsm_reset) [USE_DESCRIPTOR_PASSING]: New function.
* op-support.c (_gpgme_op_reset): Try to use the engine's reset
function if available.
* engine-gpgsm.c (gpgsm_new): Move code to dup status_fd to ...
(start): ... here.
* posix-io.c (_gpgme_io_recvmsg, _gpgme_io_sendmsg): New functions.
14 files changed:
trunk/ChangeLog
trunk/TODO
trunk/assuan/assuan.h
trunk/configure.ac
trunk/gpgme/ChangeLog
trunk/gpgme/engine-backend.h
trunk/gpgme/engine-gpgsm.c
trunk/gpgme/engine.c
trunk/gpgme/engine.h
trunk/gpgme/gpgme.c
trunk/gpgme/gpgme.h
trunk/gpgme/op-support.c
trunk/gpgme/posix-io.c
trunk/gpgme/rungpg.c