Top | ![]() |
![]() |
![]() |
![]() |
void | mailbox-created | Run First |
void | mailbox-renamed | Run First |
void | mailbox-updated | Run First |
GObject ╰── CamelObject ╰── CamelService ╰── CamelStore ╰── CamelOfflineStore ╰── CamelIMAPXStore
CamelIMAPXStore implements GInitable, CamelNetworkService and CamelSubscribable.
CamelFolderQuotaInfo * camel_imapx_store_dup_quota_info (CamelIMAPXStore *store
,const gchar *quota_root_name
);
void camel_imapx_store_set_quota_info (CamelIMAPXStore *store
,const gchar *quota_root_name
,const CamelFolderQuotaInfo *info
);
void
camel_imapx_store_dump_queue_status (CamelIMAPXStore *imapx_store
);
void camel_imapx_store_emit_mailbox_updated (CamelIMAPXStore *imapx_store
,CamelIMAPXMailbox *mailbox
);
void camel_imapx_store_handle_list_response (CamelIMAPXStore *imapx_store
,CamelIMAPXServer *imapx_server
,CamelIMAPXListResponse *response
);
void camel_imapx_store_handle_lsub_response (CamelIMAPXStore *imapx_store
,CamelIMAPXServer *imapx_server
,CamelIMAPXListResponse *response
);
void camel_imapx_store_handle_mailbox_rename (CamelIMAPXStore *imapx_store
,CamelIMAPXMailbox *old_mailbox
,const gchar *new_mailbox_name
);
gboolean
camel_imapx_store_is_connecting_concurrent_connection
(CamelIMAPXStore *imapx_store
);
GList * camel_imapx_store_list_mailboxes (CamelIMAPXStore *imapx_store
,CamelIMAPXNamespace *namespace_
,const gchar *pattern
);
Returns a list of CamelIMAPXMailbox instances which match namespace
and
pattern
. The pattern
may contain wildcard characters '*' and '%', which
are interpreted similar to the IMAP LIST command. A NULL
pattern
lists
all mailboxes in namespace
; equivalent to passing "*".
The mailboxes returned in the list are referenced for thread-safety.
They must each be unreferenced with g_object_unref()
when finished with
them. Free the returned list itself with g_list_free()
.
An easy way to free the list properly in one step is as follows:
1 |
g_list_free_full (list, g_object_unref); |
Since: 3.16
CamelIMAPXMailbox * camel_imapx_store_ref_mailbox (CamelIMAPXStore *imapx_store
,const gchar *mailbox_name
);
Looks up a CamelMailbox by its name. If no match is found, the function
returns NULL
.
The returned CamelIMAPXMailbox is referenced for thread-safety and
should be unreferenced with g_object_unref()
when finished with it.
Since: 3.16
CamelIMAPXNamespaceResponse *
camel_imapx_store_ref_namespaces (CamelIMAPXStore *imapx_store
);
Returns the CamelIMAPXNamespaceResponse for is
. This is obtained
during the connection phase if the IMAP server lists the "NAMESPACE"
keyword in its CAPABILITY response, or else is fabricated from the
first LIST response.
The returned CamelIMAPXNamespaceResponse is reference for thread-safety
and must be unreferenced with g_object_unref()
when finished with it.
Since: 3.16
void camel_imapx_store_set_connecting_server (CamelIMAPXStore *store
,CamelIMAPXServer *server
,gboolean is_concurrent_connection
);
void camel_imapx_store_set_namespaces (CamelIMAPXStore *imapx_store
,CamelIMAPXNamespaceResponse *namespaces
);
“mailbox-created”
signalvoid user_function (CamelIMAPXStore *camelimapxstore, CamelIMAPXMailbox *arg1, gpointer user_data)
Flags: Run First
“mailbox-renamed”
signalvoid user_function (CamelIMAPXStore *camelimapxstore, CamelIMAPXMailbox *arg1, gchar *arg2, gpointer user_data)
Flags: Run First
“mailbox-updated”
signalvoid user_function (CamelIMAPXStore *camelimapxstore, CamelIMAPXMailbox *arg1, gpointer user_data)
Flags: Run First