diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-04-12 04:10:24 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-04-12 04:10:24 +0800 |
commit | 55bb947869f5e514e109499a32a70fbe87f16749 (patch) | |
tree | 50ffe03085e3b5477834e277caea60fb7296ec08 /camel/camel-pgp-mime.h | |
parent | 414da9ba352b822a7c8071a34b48939395bab632 (diff) | |
download | gsoc2013-evolution-55bb947869f5e514e109499a32a70fbe87f16749.tar gsoc2013-evolution-55bb947869f5e514e109499a32a70fbe87f16749.tar.gz gsoc2013-evolution-55bb947869f5e514e109499a32a70fbe87f16749.tar.bz2 gsoc2013-evolution-55bb947869f5e514e109499a32a70fbe87f16749.tar.lz gsoc2013-evolution-55bb947869f5e514e109499a32a70fbe87f16749.tar.xz gsoc2013-evolution-55bb947869f5e514e109499a32a70fbe87f16749.tar.zst gsoc2013-evolution-55bb947869f5e514e109499a32a70fbe87f16749.zip |
Added pgp-mime.c to the tests.
2001-04-11 Jeffrey Stedfast <fejj@ximian.com>
* tests/smime/Makefile.am: Added pgp-mime.c to the tests.
* tests/smime/pgp-mime.c: Test suite for camel-pgp-mime.c functions.
* Makefile.am: Add camel-pgp-mime.[c,h] to the build.
* camel-pgp-mime.c: Made a number of fixes to get it to compile
and also fixed a few logic errors (mostly forgetting to reset
streams) so that it worked (thanks to the pgp-mime test program).
svn path=/trunk/; revision=9247
Diffstat (limited to 'camel/camel-pgp-mime.h')
-rw-r--r-- | camel/camel-pgp-mime.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/camel/camel-pgp-mime.h b/camel/camel-pgp-mime.h index 92c27d0798..026e9a8cac 100644 --- a/camel/camel-pgp-mime.h +++ b/camel/camel-pgp-mime.h @@ -25,8 +25,10 @@ #define CAMEL_PGP_MIME_H #include <glib.h> +#include <camel/camel-multipart.h> #include <camel/camel-mime-part.h> #include <camel/camel-pgp-context.h> +#include <camel/camel-exception.h> #ifdef __cplusplus extern "C" { @@ -38,17 +40,17 @@ gboolean camel_pgp_mime_is_rfc2015_encrypted (CamelMimePart *part); void camel_pgp_mime_part_sign (CamelPgpContext *context, CamelMimePart **mime_part, - const gchar *userid, + const char *userid, CamelPgpHashType hash, CamelException *ex); -CamelPgpValidity *camel_pgp_mime_part_verify (CamelPgpContext, +CamelPgpValidity *camel_pgp_mime_part_verify (CamelPgpContext *context, CamelMimePart *mime_part, CamelException *ex); void camel_pgp_mime_part_encrypt (CamelPgpContext *context, CamelMimePart **mime_part, - const GPtrArray *recipients, + GPtrArray *recipients, CamelException *ex); CamelMimePart *camel_pgp_mime_part_decrypt (CamelPgpContext *context, |