Top | ![]() |
![]() |
![]() |
![]() |
CamelThreeState | camel_offline_folder_get_offline_sync () |
|
camel_offline_folder_set_offline_sync () |
|
camel_offline_folder_can_downsync () |
|
camel_offline_folder_downsync_sync () |
|
camel_offline_folder_downsync () |
|
camel_offline_folder_downsync_finish () |
CamelThreeState
camel_offline_folder_get_offline_sync (CamelOfflineFolder *folder
);
Since: 2.32
void camel_offline_folder_set_offline_sync (,
CamelOfflineFolder *folderCamelThreeState offline_sync
);
The CAMEL_THREE_STATE_INCONSISTENT
means what the parent store has set.
folder |
a |
|
offline_sync |
whether to synchronize for offline use, as a CamelThreeState enum |
Since: 2.32
gboolean camel_offline_folder_can_downsync ();
CamelOfflineFolder *folder
Checks whether the folder
can run downsync according to its
settings (camel_offline_folder_get_offline_sync()
) and to
the parent's camel_offline_settings_get_stay_synchronized()
).
Since: 3.22
gboolean camel_offline_folder_downsync_sync (,
CamelOfflineFolder *folderconst
,gchar *expression,
GCancellable *cancellable);
GError **error
Synchronizes messages in folder
described by the search expression
to
the local machine for offline availability.
folder |
a |
|
expression |
search expression describing which set of messages
to downsync ( |
|
cancellable |
optional |
|
error |
return location for a |
Since: 3.0
void camel_offline_folder_downsync (,
CamelOfflineFolder *folderconst
,gchar *expression,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
Synchronizes messages in folder
described by the search expression
to
the local machine asynchronously for offline availability.
When the operation is finished, callback
will be called. You can then
call camel_offline_folder_downsync_finish()
to get the result of the
operation.
folder |
a |
|
expression |
search expression describing which set of messages
to downsync ( |
|
io_priority |
the I/O priority of the request |
|
cancellable |
optional |
|
callback |
a |
|
user_data |
data to pass to the callback function |
Since: 3.0
gboolean camel_offline_folder_downsync_finish (,
CamelOfflineFolder *folder,
GAsyncResult *result);
GError **error
Finishes the operation started with camel_offline_folder_downsync()
.
folder |
a |
|
result |
a |
|
error |
return location for a |
Since: 3.0