| Top |
Description
CamelIMAPXNamespace encapsulates an IMAP namespace, which consists of a namespace category (personal/other users/shared), a mailbox prefix string, and a mailbox separator character.
Functions
camel_imapx_namespace_new ()
CamelIMAPXNamespace * camel_imapx_namespace_new (CamelIMAPXNamespaceCategory category,const gchar *prefix,gchar separator);
Creates a new CamelIMAPXNamespace from category
, prefix
and separator
.
Since 3.12
camel_imapx_namespace_equal ()
gboolean camel_imapx_namespace_equal (CamelIMAPXNamespace *namespace_a,CamelIMAPXNamespace *namespace_b);
Returns whether namespace_a
and namespace_b
are equivalent, meaning
they share the same category, prefix string, and path separator character.
Since 3.12
camel_imapx_namespace_get_category ()
CamelIMAPXNamespaceCategory
camel_imapx_namespace_get_category (CamelIMAPXNamespace *namespace_);
Returns the CamelIMAPXNamespaceCategory for namespace
.
Since 3.12
camel_imapx_namespace_get_prefix ()
const gchar *
camel_imapx_namespace_get_prefix (CamelIMAPXNamespace *namespace_);
Returns the mailbox prefix string for namespace
.
Since 3.12
camel_imapx_namespace_get_separator ()
gchar
camel_imapx_namespace_get_separator (CamelIMAPXNamespace *namespace_);
Returns the mailbox path separator charactor for namespace
.
Since 3.12
Types and Values
struct CamelIMAPXNamespace
struct CamelIMAPXNamespace;
Contains only private data that should be read and manipulated using the functions below.
Since 3.12
