doc/
authorMarcus Brinkmann <mb@g10code.com>
Sun, 27 Apr 2003 22:24:37 +0000 (22:24 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Sun, 27 Apr 2003 22:24:37 +0000 (22:24 +0000)
commitb28c295e0ed57884f0d6c9ab464d80aa55cec2d8
tree5f305d17aca7b079fba382a60d25812e73c70c18
parent17612da14eeeb0774df3816effc9442169d1a617
doc/
2003-04-27  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.texi (Encrypting a Plaintext): Add info about
GpgmeEncryptResult and gpgme_op_encrypt_result.

gpgme/
2003-04-27  Marcus Brinkmann  <marcus@g10code.de>

* gpgme.h (GpgmeEncryptResult): New data type.
(gpgme_op_encrypt_result): New prototype.
* ops.h (_gpgme_op_encrypt_init_result): New prototype.
(_gpgme_op_encrypt_status_handler): Fix prototype.
* encrypt-sign.c (_gpgme_op_encrypt_sign_start): Call
_gpgme_op_encrypt_init_result.
* encrypt.c: Do not include <stdio.h>, <assert.h>, "util.h" and
"wait.h".  Include <errno.h> and "gpgme.h".
(SKIP_TOKEN_OR_RETURN): Remove macro.
(struct encrypt_result): Rename to ...
(op_data_t): ... new data type.  Rewrite for user result data.
(append_xml_encinfo): Remove function.
(release_op_data): New function.
(gpgme_op_encrypt_result): New function.
(_gpgme_op_encrypt_status_handler): Change first argument to void *.
Rewrite result parsing.
(_gpgme_op_encrypt_sym_status_handler): Change first argument to
void *.
(_gpgme_op_encrypt_init_result): New function.
(_gpgme_op_encrypt_start): Rename to ...
(encrypt_start): ... this.
(gpgme_op_encrypt_start): Use encrypt_start, not
gpgme_op_encrypt_start.
(gpgme_op_encrypt): Likewise.

tests/
2003-04-27  Marcus Brinkmann  <marcus@g10code.de>

* gpg/t-sign.c: Rewritten.
* gpgsm/t-sign.c: Rewritten.
* gpg/t-encrypt.c: Check for invalid recipients.
* gpgsm/t-encrypt.c: Likewise.
15 files changed:
trunk/NEWS
trunk/doc/ChangeLog
trunk/doc/gpgme.texi
trunk/gpgme/ChangeLog
trunk/gpgme/encrypt-sign.c
trunk/gpgme/encrypt.c
trunk/gpgme/gpgme.h
trunk/gpgme/ops.h
trunk/tests/ChangeLog
trunk/tests/gpg/t-encrypt.c
trunk/tests/gpg/t-genkey.c
trunk/tests/gpg/t-sign.c
trunk/tests/gpgsm/t-encrypt.c
trunk/tests/gpgsm/t-genkey.c
trunk/tests/gpgsm/t-sign.c