aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-06 04:08:23 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-06 04:08:23 +0800
commit116b88eb5d75445872130fc253bfa97d6be08d77 (patch)
tree76ac26b49f1fef7a33708f2694e830444fb8a553 /camel/camel-folder.h
parent1ee21a1820a06e6512eb82e17f75894d252a7257 (diff)
downloadgsoc2013-evolution-116b88eb5d75445872130fc253bfa97d6be08d77.tar
gsoc2013-evolution-116b88eb5d75445872130fc253bfa97d6be08d77.tar.gz
gsoc2013-evolution-116b88eb5d75445872130fc253bfa97d6be08d77.tar.bz2
gsoc2013-evolution-116b88eb5d75445872130fc253bfa97d6be08d77.tar.lz
gsoc2013-evolution-116b88eb5d75445872130fc253bfa97d6be08d77.tar.xz
gsoc2013-evolution-116b88eb5d75445872130fc253bfa97d6be08d77.tar.zst
gsoc2013-evolution-116b88eb5d75445872130fc253bfa97d6be08d77.zip
Basic UID framework.
1999-09-05 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder.c (camel_folder_has_uid_capability): (camel_folder_get_message_uid): (camel_folder_get_message_uid_by_number): (camel_folder_get_message_by_uid): (camel_folder_get_uid_list): Basic UID framework. svn path=/trunk/; revision=1181
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 3a9d99d3a8..443186803e 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -77,7 +77,6 @@ struct _CamelFolder
gboolean has_uid_capability;
-
GList *message_list;
};
@@ -114,6 +113,11 @@ typedef struct {
const GList * (*list_permanent_flags) (CamelFolder *folder);
void (*copy_message_to) (CamelFolder *folder, CamelMimeMessage *message, CamelFolder *dest_folder);
+ gchar * (*get_message_uid) (CamelFolder *folder, CamelMimeMessage *message);
+ gchar * (*get_message_uid_by_number) (CamelFolder *folder, gint message_number);
+ CamelMimeMessage * (*get_message_by_uid) (CamelFolder *folder, gchar *uid);
+ GList * (*get_uid_list) (CamelFolder *folder);
+
} CamelFolderClass;
@@ -149,6 +153,12 @@ gboolean camel_folder_has_summary_capability (CamelFolder *folder);
CamelFolderSummary *camel_folder_get_summary (CamelFolder *folder);
+gboolean camel_folder_has_uid_capability (CamelFolder *folder);
+gchar * camel_folder_get_message_uid (CamelFolder *folder, CamelMimeMessage *message);
+gchar * camel_folder_get_message_uid_by_number (CamelFolder *folder, gint message_number);
+CamelMimeMessage *camel_folder_get_message_by_uid (CamelFolder *folder, gchar *uid);
+GList *camel_folder_get_uid_list (CamelFolder *folder);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */