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)
commit588c16d324e83e64ccdc8761e3fb3b91648528fc
tree6778d9067f57dae58335abc356119b2b47b23e4f
parent2971894b27ff61dabfbd26706e3b7d4fc5c76f50
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:
NEWS
doc/ChangeLog
doc/gpgme.texi
gpgme/ChangeLog
gpgme/encrypt-sign.c
gpgme/encrypt.c
gpgme/gpgme.h
gpgme/ops.h
tests/ChangeLog
tests/gpg/t-encrypt.c
tests/gpg/t-genkey.c
tests/gpg/t-sign.c
tests/gpgsm/t-encrypt.c
tests/gpgsm/t-genkey.c
tests/gpgsm/t-sign.c