Top | ![]() |
![]() |
![]() |
![]() |
|
camel_imapx_folder_new () |
CamelIMAPXMailbox * | camel_imapx_folder_ref_mailbox () |
|
camel_imapx_folder_set_mailbox () |
CamelIMAPXMailbox * | camel_imapx_folder_list_mailbox () |
|
camel_imapx_folder_copy_message_map () |
|
camel_imapx_folder_add_move_to_real_junk () |
|
camel_imapx_folder_add_move_to_real_trash () |
|
camel_imapx_folder_invalidate_local_cache () |
|
camel_imapx_folder_get_check_folder () |
|
camel_imapx_folder_set_check_folder () |
|
camel_imapx_folder_claim_move_to_real_junk_uids () |
|
camel_imapx_folder_claim_move_to_real_trash_uids () |
CamelFolder * camel_imapx_folder_new (,
CamelStore *parentconst
,gchar *pathconst
,gchar *raw);
GError **error
CamelIMAPXMailbox *
camel_imapx_folder_ref_mailbox (CamelIMAPXFolder *folder
);
Returns the CamelIMAPXMailbox for folder
from the current IMAP server
connection, or NULL
folder
's
The returned CamelIMAPXMailbox is referenced for thread-safety and
should be unreferenced with g_object_unref()
Since: 3.12
void camel_imapx_folder_set_mailbox (,
CamelIMAPXFolder *folderCamelIMAPXMailbox *mailbox
);
Sets the CamelIMAPXMailbox for folder
from the current IMAP server
connection. Note that
Since: 3.12
CamelIMAPXMailbox * camel_imapx_folder_list_mailbox (,
CamelIMAPXFolder *folder,
GCancellable *cancellable);
GError **error
Ensures that folder
's
If folder
's error
and returns NULL
The returned CamelIMAPXMailbox is referenced for thread-safety and
should be unreferenced with g_object_unref()
folder |
a |
|
cancellable |
optional |
|
error |
return location for a |
Since: 3.12
GSequence * camel_imapx_folder_copy_message_map ();
CamelIMAPXFolder *folder
Returns a
Free the returns g_sequence_free()
Since: 3.12
void camel_imapx_folder_add_move_to_real_junk (,
CamelIMAPXFolder *folderconst
);gchar *message_uid
Adds message_uid
to a pool of messages to be moved to a real junk
folder the next time folder
is explicitly synchronized by way of
camel_folder_synchronize()
or camel_folder_synchronize_sync()
.
This only applies when using a real folder to track junk messages,
as specified by the
Since: 3.8
void camel_imapx_folder_add_move_to_real_trash (,
CamelIMAPXFolder *folderconst
);gchar *message_uid
Adds message_uid
to a pool of messages to be moved to a real trash
folder the next time folder
is explicitly synchronized by way of
camel_folder_synchronize()
or camel_folder_synchronize_sync()
.
This only applies when using a real folder to track deleted messages,
as specified by the
Since: 3.8
void camel_imapx_folder_invalidate_local_cache (,
CamelIMAPXFolder *folder);
guint64 new_uidvalidity
Call this function when the IMAP server reports a different UIDVALIDITY value than what is presently cached. This means all cached message UIDs are now invalid and must be discarded.
The local cache for folder
is reset and the new_uidvalidity
value is
recorded in the newly-reset cache.
Since: 3.10
gboolean camel_imapx_folder_get_check_folder ();
CamelIMAPXFolder *folder
void camel_imapx_folder_set_check_folder (,
CamelIMAPXFolder *folder);
gboolean check_folder
void camel_imapx_folder_claim_move_to_real_junk_uids (,
CamelIMAPXFolder *folder);
GPtrArray *out_uids_to_copy