gpgme/
authorMarcus Brinkmann <mb@g10code.com>
Fri, 16 Nov 2001 01:37:06 +0000 (01:37 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Fri, 16 Nov 2001 01:37:06 +0000 (01:37 +0000)
commitd65c4b72d98de7bbac98e3058d2a0ab113cc8836
treee33536772345fd1062e591557edb232d07e3a428
parent550bc31b44b631368af398fb083f55bc2ffdae6b
gpgme/
2001-11-16  Marcus Brinkmann  <marcus@g10code.de>

* decrypt-verify.c: New file.
* Makefile.am (libgpgme_la_SOURCES): Add decrypt-verify.c.
* types.h: Add decrypt-verify types.
* ops.h: Likewise.
* context.h: Add result type for decrypt-verify.
* gpgme.h: Add decrypt-verify prototypes.

* decrypt.c (decrypt_status_handler): Renamed to ...
(_gpgme_decrypt_status_handler): ... this.  Make non-static.
(_gpgme_decrypt_start): New function, derived from
gpgme_op_decrypt_start.
(gpgme_op_decrypt_start): Reimplement in terms of
_gpgme_decrypt_start.
(_gpgme_decrypt_result): New function to retrieve error value.
(gpgme_op_decrypt): Use _gpgme_decrypt_result.
* ops.h: Add prototypes for new functions.

* verify.c (verify_status_handler): Renamed to ...
(_gpgme_verify_status_handler): ... this.  Make non-static.
(gpgme_op_verify_start): Use new function name.
(intersect_stati): Renamed to ...
(_gpgme_intersect_stati): ... this.  Make non-static.
(gpgme_op_verify): Use new name.
* ops.h: Add prototypes for new functions.

tests/
2001-11-16  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (TESTS): Add t-decrypt-verify.
* t-decrypt-verify.c: New file.
* cipher-2.asc: Likewise.
gpgme/ChangeLog
gpgme/Makefile.am
gpgme/decrypt-verify.c [new file with mode: 0644]
gpgme/decrypt.c
gpgme/gpgme.h
gpgme/ops.h
gpgme/verify.c
tests/ChangeLog
tests/Makefile.am
tests/cipher-2.asc [new file with mode: 0644]
tests/t-decrypt-verify.c [new file with mode: 0644]