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)
commitba58b21408d34938fd0c1b8eecf10bfa9de4366a
tree548805b41828cdf137950cdf4c6c0dcee6a61daa
parentcb960f1e9619a8da61bd2f33dfd939d9e7301b08
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).
gpgme/ChangeLog
gpgme/engine-gpgsm.c