2003-04-25 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Fri, 25 Apr 2003 14:24:17 +0000 (14:24 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Fri, 25 Apr 2003 14:24:17 +0000 (14:24 +0000)
commit8002f98d48c3539e0211add8881620ea16cea21e
tree89ab8eefdb56085484a19124ddbeb8dcce54b5ba
parent9dbd9c6dffb5cab9a60733bc800b47702184835c
2003-04-25  Marcus Brinkmann  <marcus@g10code.de>

* ops.h (_gpgme_passphrase_start): Remove prototype.
* passphrase.c: Do not include <assert.h>, "util.h" or
"debug.h", but "gpgme.h".
(struct passphrase_result): Change to typedef for op_data_t.
(release_passphrase_result): Rename to release_op_data.
(_gpgme_passphrase_status_handler): Change first argument to void *.
Use new op_data_t type.
(_gpgme_passphrase_command_handler): Use new op_data_t type.
(_gpgme_passphrase_start): Remove function.
* decrypt.c (_gpgme_decrypt_start): Rewrite error handling.  Do
not call _gpgme_passphrase_start, but install command handler.
* encrypt.c (_gpgme_op_encrypt_start): Likewise.
* encrypt-sign.c (_gpgme_op_encrypt_sign_start): Likewise.
* sign.c (_gpgme_op_sign_start): Likewise.
gpgme/ChangeLog
gpgme/decrypt.c
gpgme/encrypt-sign.c
gpgme/encrypt.c
gpgme/ops.h
gpgme/passphrase.c
gpgme/sign.c