From 1b63055fb9fb6a90be7dcdf9022d95903cb1b427 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 24 Nov 2003 22:38:12 +0000 Subject: change args to make it suit storing the validity in a tree. 2003-11-25 Not Zed * 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 --- camel/camel-cipher-context.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'camel/camel-cipher-context.h') 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 #include +/* 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; -- cgit v1.2.3