2006-12-03 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Sun, 3 Dec 2006 02:05:23 +0000 (02:05 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Sun, 3 Dec 2006 02:05:23 +0000 (02:05 +0000)
commita78b6deb596e9d4086f11fed951e1358ebb7e0e3
tree171cf274f4d2bb96719c035f26f5eee03271efa5
parent3ad7656d760fbe097dd356c9e69be38b0ca596b9
2006-12-03  Marcus Brinkmann  <marcus@g10code.de>

* engine-gpgsm.c (struct engine_gpgsm): Move members
input_fd_server, output_fd_server, message_fd_server to ...
(iocb_data): ... here (as server_fd).
(close_notify_handler): Reset tags as well.
(gpgsm_new): Implement support for descriptor
passing.
(fd_type_t): New type.
(gpgsm_clear_fd): New function.  Use it instead of _gpgsm_io_close
for unused communication channels.
(gpgsm_set_fd): Rewritten to support descriptor passing.  All
relevant callers adjusted as well (previously of _gpgme_io_close).
trunk/gpgme/ChangeLog
trunk/gpgme/engine-gpgsm.c