* 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)
commit3634edf055e58458e2169c8fabd3e3a709724342
tree1584b35c21ee44ecf4c5762d57a818e43fb28ef9
parentb41d06c0a1fdfbf42c12ad7e32a9ee4ba553f7e2
* 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.
gpgme/ChangeLog
gpgme/engine-gpgsm.c
gpgme/engine-gpgsm.h
gpgme/engine.c