Top | ![]() |
![]() |
![]() |
![]() |
|
camel_subscribable_folder_is_subscribed () |
|
camel_subscribable_subscribe_folder_sync () |
|
camel_subscribable_subscribe_folder () |
|
camel_subscribable_subscribe_folder_finish () |
|
camel_subscribable_unsubscribe_folder_sync () |
|
camel_subscribable_unsubscribe_folder () |
|
camel_subscribable_unsubscribe_folder_finish () |
|
camel_subscribable_folder_subscribed () |
|
camel_subscribable_folder_unsubscribed () |
gboolean camel_subscribable_folder_is_subscribed (CamelSubscribable *subscribable
,const
);gchar *folder_name
Find out if a folder has been subscribed to.
Since: 3.2
gboolean camel_subscribable_subscribe_folder_sync (CamelSubscribable *subscribable
,const
,gchar *folder_name,
GCancellable *cancellable);
GError **error
Subscribes to the folder described by folder_name
.
subscribable |
||
folder_name |
full path of the folder |
|
cancellable |
optional |
|
error |
return location for a |
Since: 3.2
void camel_subscribable_subscribe_folder (CamelSubscribable *subscribable
,const
,gchar *folder_name,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
Asynchronously subscribes to the folder described by folder_name
.
When the operation is finished, callback
will be called. You can then
call camel_subscribable_subscribe_folder_finish()
to get the result of
the operation.
subscribable |
||
folder_name |
full path of the folder |
|
io_priority |
the I/O priority of the request |
|
cancellable |
optional |
|
callback |
a |
|
user_data |
data to pass to the callback function |
Since: 3.2
gboolean camel_subscribable_subscribe_folder_finish (CamelSubscribable *subscribable
,,
GAsyncResult *result);
GError **error
Finishes the operation started with camel_subscribable_subscribe_folder()
.
Since: 3.2
gboolean camel_subscribable_unsubscribe_folder_sync (CamelSubscribable *subscribable
,const
,gchar *folder_name,
GCancellable *cancellable);
GError **error
Unsubscribes from the folder described by folder_name
.
subscribable |
||
folder_name |
full path of the folder |
|
cancellable |
optional |
|
error |
return location for a |
Since: 3.2
void camel_subscribable_unsubscribe_folder (CamelSubscribable *subscribable
,const
,gchar *folder_name,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
Asynchronously unsubscribes from the folder described by folder_name
.
When the operation is finished, callback
will be called. You can then
call camel_subscribable_unsubscribe_folder_finish()
to get the result of
the operation.
subscribable |
||
folder_name |
full path of the folder |
|
io_priority |
the I/O priority of the request |
|
cancellable |
optional |
|
callback |
a |
|
user_data |
data to pass to the callback function |
Since: 3.2
gboolean camel_subscribable_unsubscribe_folder_finish (CamelSubscribable *subscribable
,,
GAsyncResult *result);
GError **error
Finishes the operation started with camel_subscribable_unsubscribe_folder()
.
Since: 3.2
void camel_subscribable_folder_subscribed (CamelSubscribable *subscribable
,);
CamelFolderInfo *folder_info
Emits the
This function is only intended for Camel providers.
Since: 3.2
void camel_subscribable_folder_unsubscribed (CamelSubscribable *subscribable
,);
CamelFolderInfo *folder_info
Emits the
This function is only intended for Camel providers.
Since: 3.2