Method
CamelFolderpurge_message_cache
since: 3.4
Declaration [src]
void
camel_folder_purge_message_cache (
CamelFolder* folder,
gchar* start_uid,
gchar* end_uid,
gint io_priority,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Delete the local cache of all messages between these uids.
When the operation is finished, callback will be called. You can then call camel_folder_purge_message_cache_finish() to get the result of the operation.
Available since: 3.4
This method completes asynchronously. Use camel_folder_purge_message_cache_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
start_uid-
Type:
gchar*The start message UID.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. end_uid-
Type:
gchar*The end message UID.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. io_priority-
Type:
gintThe I/O priority of the request.
cancellable-
Type:
GCancellableOptional
GCancellableobject, orNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the request is satisfied.The argument can be NULL. user_data-
Type:
gpointerData to pass to the callback function.
The argument can be NULL.The data is owned by the caller of the method.