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)
commit106a8feda511d0080110f45001f145bd873058da
tree1e21c4a9d15fe6b55c89a815ff785502e197e3e9
parent350fdc93b048b83bf33ced2beccfbf93562953f1
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.
trunk/gpgme/ChangeLog
trunk/gpgme/decrypt.c
trunk/gpgme/encrypt-sign.c
trunk/gpgme/encrypt.c
trunk/gpgme/ops.h
trunk/gpgme/passphrase.c
trunk/gpgme/sign.c