diff options
author | Marcus Brinkmann <[email protected]> | 2002-02-26 00:08:09 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2002-02-26 00:08:09 +0000 |
commit | c22974f99f1d91d49f365a375befc4b87ccfc63f (patch) | |
tree | d1b6deec1c802e7a7a9dc26907d81afb9947ec02 /gpgme/encrypt.c | |
parent | 2002-02-25 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-c22974f99f1d91d49f365a375befc4b87ccfc63f.tar.gz gpgme-c22974f99f1d91d49f365a375befc4b87ccfc63f.zip |
doc/
2002-02-26 Marcus Brinkmann <[email protected]>
* gpgme.texi (Encrypting a Plaintext): Document
gpgme_op_encrypt_sign and gpgme_op_encrypt_sign_start.
gpgme/
2002-02-25 Marcus Brinkmann <[email protected]>
* engine.c (_gpgme_engine_op_encrypt_sign): New function.
* engine.h (_gpgme_engine_op_encrypt_sign): New prototype.
* rungpg.c (_gpgme_append_gpg_args_from_signers): New function.
(_gpgme_gpg_op_sign): Use that new function.
(_gpgme_gpg_op_encrypt_sign): New function.
* rungpg.h (_gpgme_gpg_op_encrypt_sign): New prototype.
* gpgme.h (gpgme_op_encrypt_sign_start): New prototype.
(gpgme_op_encrypt_sign): Likewise.
* Makefile.am (libgpgme_la_SOURCES): Add encrypt-sign.c.
* ops.h (_gpgme_encrypt_status_handler): Add prototype.
(_gpgme_sign_status_handler): Add prototype.
* sign.c (sign_status_handler): Rename to ...
(_gpgme_sign_status_handler): ... this and make non-static.
* encrypt.c (encrypt_status_handler): Rename to ...
(_gpgme_encrypt_status_handler): ... this and make non-static.
* encrypt.c (gpgme_op_encrypt_start): Use new status handler name.
* sign.c (gpgme_op_sign_start): Likewise.
tests/
2002-02-26 Marcus Brinkmann <[email protected]>
* gpg/t-encrypt-sign.c: New file.
* gpg/Makefile.am (TESTS): Add t-encrypt-sign.
Diffstat (limited to '')
-rw-r--r-- | gpgme/encrypt.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gpgme/encrypt.c b/gpgme/encrypt.c index d0b8fc6e..2f6abdae 100644 --- a/gpgme/encrypt.c +++ b/gpgme/encrypt.c @@ -97,8 +97,8 @@ append_xml_encinfo (GpgmeData *rdh, char *args) } -static void -encrypt_status_handler (GpgmeCtx ctx, GpgStatusCode code, char *args) +void +_gpgme_encrypt_status_handler (GpgmeCtx ctx, GpgStatusCode code, char *args) { if (ctx->error) return; @@ -158,7 +158,8 @@ gpgme_op_encrypt_start (GpgmeCtx ctx, GpgmeRecipients recp, GpgmeData plain, if (err) goto leave; - _gpgme_engine_set_status_handler (ctx->engine, encrypt_status_handler, ctx); + _gpgme_engine_set_status_handler (ctx->engine, _gpgme_encrypt_status_handler, + ctx); _gpgme_engine_set_verbosity (ctx->engine, ctx->verbosity); /* Check the supplied data */ |