aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-pgp-context.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-04-02 15:10:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-04-02 15:10:28 +0800
commit9f642307d275beee2663cf2e2a0b41400aeec607 (patch)
tree6db0de25b8f01235dde08ccee7cf31cf4061296c /camel/camel-pgp-context.h
parent8678349a4a9c0a1107ac8fa2684f0cb67d6195b5 (diff)
downloadgsoc2013-evolution-9f642307d275beee2663cf2e2a0b41400aeec607.tar.gz
gsoc2013-evolution-9f642307d275beee2663cf2e2a0b41400aeec607.tar.zst
gsoc2013-evolution-9f642307d275beee2663cf2e2a0b41400aeec607.zip
Update the function prototypes to match those found in
2001-04-02 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.h: Update the function prototypes to match those found in camel-pgp-context.c. * camel-pgp-context.c: Updated. * camel-pgp-mime.c (camel_pgp_mime_part_sign): Implemented. (camel_pgp_mime_part_verify): Implemented. (camel_pgp_mime_part_encrypt): Implemented. (camel_pgp_mime_part_decrypt): Implemented. svn path=/trunk/; revision=9095
Diffstat (limited to 'camel/camel-pgp-context.h')
-rw-r--r--camel/camel-pgp-context.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/camel/camel-pgp-context.h b/camel/camel-pgp-context.h
index 3dc2de4920..df3da0467e 100644
--- a/camel/camel-pgp-context.h
+++ b/camel/camel-pgp-context.h
@@ -74,19 +74,20 @@ CamelType camel_pgp_context_get_type (void);
CamelPgpContext *camel_pgp_context_new (CamelSession *session, CamelPgpType type, const char *path);
/* PGP routines */
-int camel_pgp_sign (CamelPgpContext *ctx, CamelPgpHashType hash, CamelStream *istream,
- CamelStream *ostream, CamelException *ex);
+int camel_pgp_sign (CamelPgpContext *context, const char *userid, CamelPgpHashType hash,
+ CamelStream *istream, CamelStream *ostream, CamelException *ex);
-int camel_pgp_clearsign (CamelPgpContext *ctx, CamelPgpHashType hash, CamelStream *istream,
- CamelStream *ostream, CamelException *ex);
+int camel_pgp_clearsign (CamelPgpContext *context, const char *userid, CamelPgpHashType hash,
+ CamelStream *istream, CamelStream *ostream, CamelException *ex);
-CamelPgpValidity *camel_pgp_verify (CamelPgpContext *ctx, CamelStream *istream, CamelStream *sigstream,
+CamelPgpValidity *camel_pgp_verify (CamelPgpContext *context, CamelStream *istream, CamelStream *sigstream,
CamelException *ex);
-int camel_pgp_encrypt (CamelPgpContext *ctx, gboolean sign, CamelPgpHashType hash,
- CamelStream *cleartext, CamelStream *ciphertext, CamelException *ex);
+int camel_pgp_encrypt (CamelPgpContext *context, gboolean sign, const char *userid,
+ GPtrArray *recipients, CamelStream *istream, CamelStream *ostream,
+ CamelException *ex);
-int camel_pgp_decrypt (CamelPgpContext *ctx, CamelStream *ciphertext, CamelStream *cleartext,
+int camel_pgp_decrypt (CamelPgpContext *context, CamelStream *istream, CamelStream *ostream,
CamelException *ex);
/* CamelPgpValidity utility functions */