aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-cipher-context.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-11-25 06:38:12 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-11-25 06:38:12 +0800
commit1b63055fb9fb6a90be7dcdf9022d95903cb1b427 (patch)
tree3c454d27fa6d0ad0d80d40c1f2f0358191d99e53 /camel/camel-cipher-context.h
parent2f99f8636abd7efc68bfa5de1591c594e9f532eb (diff)
downloadgsoc2013-evolution-1b63055fb9fb6a90be7dcdf9022d95903cb1b427.tar.gz
gsoc2013-evolution-1b63055fb9fb6a90be7dcdf9022d95903cb1b427.tar.zst
gsoc2013-evolution-1b63055fb9fb6a90be7dcdf9022d95903cb1b427.zip
change args to make it suit storing the validity in a tree.
2003-11-25 Not Zed <NotZed@Ximian.com> * camel-cipher-context.c (camel_cipher_validity_envelope): change args to make it suit storing the validity in a tree. (camel_cipher_validity_init): init the list header. (camel_cipher_validity_clone): call validity_new so it gets init properly. (camel_cipher_validity_free): free any children nodes recursively. * camel-cipher-context.h (CamelCipherValidity): added next/prev and list header. svn path=/trunk/; revision=23484
Diffstat (limited to 'camel/camel-cipher-context.h')
-rw-r--r--camel/camel-cipher-context.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/camel/camel-cipher-context.h b/camel/camel-cipher-context.h
index a3edab6a5e..1a7387ac2c 100644
--- a/camel/camel-cipher-context.h
+++ b/camel/camel-cipher-context.h
@@ -26,6 +26,9 @@
#include <camel/camel-session.h>
#include <camel/camel-exception.h>
+/* FIXME: camelise */
+#include "e-util/e-msgport.h"
+
struct _CamelStream;
struct _CamelMimePart;
@@ -66,6 +69,10 @@ enum _camel_cipher_validity_encrypt_t {
};
struct _CamelCipherValidity {
+ struct _CamelCipherValidity *next;
+ struct _CamelCipherValidity *prev;
+ EDList children;
+
struct {
enum _camel_cipher_validity_sign_t status;
char *description;