From 90d51074c9c7c5284e3ff3e0a0eb4b5f5d96761f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 9 Jul 2000 22:40:49 +0000 Subject: New function to copy a header_references structure. * camel-mime-utils.c (header_references_dup): New function to copy a header_references structure. * camel-folder-summary.c (camel_message_info_dup_to): New function to (deep) copy the data from one CamelMessageInfo into another. (camel_message_info_free): And free the data. * providers/vee/camel-vee-folder.c (vee_sync): Implement. (empty). (vee_search_by_expression): belatedly update for camel_folder_search change. (vee_folder_build): belatedly update for camel_folder_search change. Use camel_message_info_dup_to and camel_message_info_free (in particular, so that we get message_id and references info so vfolders can be threaded). (vee_folder_build_folder): Ditto. svn path=/trunk/; revision=4024 --- camel/camel-mime-utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/camel-mime-utils.h') diff --git a/camel/camel-mime-utils.h b/camel/camel-mime-utils.h index 90ac722834..4d8d6bb9ea 100644 --- a/camel/camel-mime-utils.h +++ b/camel/camel-mime-utils.h @@ -150,6 +150,7 @@ struct _header_references *header_references_decode(const char *in); void header_references_list_clear(struct _header_references **list); void header_references_list_append_asis(struct _header_references **list, char *ref); int header_references_list_size(struct _header_references **list); +struct _header_references *header_references_dup(const struct _header_references *list); /* decode the mime-type header */ void header_mime_decode(const char *in, int *maj, int *min); -- cgit