| Top |
CamelFolderThread * camel_folder_thread_messages_new (CamelFolder *folder,GPtrArray *uids,gboolean thread_subject);
Thread a (subset) of the messages in a folder. And sort the result in summary order.
If thread_subject
is TRUE, messages with
related subjects will also be threaded. The default behaviour is to
only thread based on message-id.
This function is probably to be removed soon.
folder |
a CamelFolder |
|
uids |
The subset of uid's to thread. If |
[element-type utf8] |
thread_subject |
thread based on subject also |
void camel_folder_thread_messages_apply (CamelFolderThread *thread,GPtrArray *uids);
Adds new uids
into the threaded tree.
CamelFolderThread *
camel_folder_thread_messages_new_summary
(GPtrArray *summary);
Thread a list of MessageInfo's. The summary must remain valid for the life of the CamelFolderThread created by this function, and it is upto the caller to ensure this.
void camel_folder_thread_messages_add (CamelFolderThread *thread,GPtrArray *summary);
void camel_folder_thread_messages_remove (CamelFolderThread *thread,GPtrArray *uids);
CamelFolderThread *
camel_folder_thread_messages_ref (CamelFolderThread *thread);
Increase the reference of thread
void
camel_folder_thread_messages_unref (CamelFolderThread *thread);
Free all memory associated with the thread descriptor thread
.
gint
camel_folder_threaded_messages_dump (CamelFolderThreadNode *c);