* engine-gpgsm.c (_gpgme_gpgsm_set_colon_line_handler): New.
authorWerner Koch <wk@gnupg.org>
Thu, 13 Dec 2001 17:37:18 +0000 (17:37 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 13 Dec 2001 17:37:18 +0000 (17:37 +0000)
commit285a5ae367dfa196a24e35d34e5c9f76b918a790
tree2509e100c22d85a4bcd574154131615c7133aadd
parentc58f06831c97f83cf2113dfc52e568298cfe1d59
* engine-gpgsm.c (_gpgme_gpgsm_set_colon_line_handler): New.
(gpgsm_status_handler): Pass datalines to a colon handler
* engine.c (_gpgme_engine_set_colon_line_handler): Set the colon
handler for gpgsm.

* engine-gpgsm.c (_gpgme_gpgsm_op_keylist): Allow NULL for
pattern.
(gpgsm_assuan_simple_command): Removed underscore from
assuan_write_line.
(_gpgme_gpgsm_start): Ditto.
(gpgsm_assuan_simple_command): Replaced interal Assuan read
function by the new assuan_read_line.  Removed the use of the
internal header.
(gpgsm_status_handler): Ditto. Use the new assuan_pending_line.
(_gpgme_gpgsm_start): Use the documented way to get an fd from
assuan.
trunk/gpgme/ChangeLog
trunk/gpgme/engine-gpgsm.c
trunk/gpgme/engine-gpgsm.h
trunk/gpgme/engine.c