aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-smime-context.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-smime-context.h')
-rw-r--r--camel/camel-smime-context.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/camel-smime-context.h b/camel/camel-smime-context.h
index a68d5e1646..f0e8d45c3b 100644
--- a/camel/camel-smime-context.h
+++ b/camel/camel-smime-context.h
@@ -41,6 +41,12 @@ typedef enum _camel_smime_sign_t {
CAMEL_SMIME_SIGN_ENVELOPED
} camel_smime_sign_t;
+typedef enum _camel_smime_describe_t {
+ CAMEL_SMIME_SIGNED = 1,
+ CAMEL_SMIME_ENCRYPTED = 2,
+ CAMEL_SMIME_CERTS = 4,
+} camel_smime_describe_t;
+
typedef struct _CamelSMIMEContext CamelSMIMEContext;
typedef struct _CamelSMIMEContextClass CamelSMIMEContextClass;
@@ -63,6 +69,8 @@ void camel_smime_context_set_encrypt_key(CamelSMIMEContext *context, gboolean us
/* set signing mode, clearsigned multipart/signed or enveloped */
void camel_smime_context_set_sign_mode(CamelSMIMEContext *context, camel_smime_sign_t type);
+guint32 camel_smime_context_describe_part(CamelSMIMEContext *, struct _CamelMimePart *);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */