Top | ![]() |
![]() |
![]() |
![]() |
CamelIMAPXNamespace * | camel_imapx_namespace_new () |
gboolean | camel_imapx_namespace_equal () |
CamelIMAPXNamespaceCategory | camel_imapx_namespace_get_category () |
const gchar * | camel_imapx_namespace_get_prefix () |
gchar | camel_imapx_namespace_get_separator () |
void | camel_imapx_namespace_response_add () |
void | camel_imapx_namespace_response_remove () |
CamelIMAPXNamespace encapsulates an IMAP namespace, which consists of a namespace category (personal/other users/shared), a mailbox prefix string, and a mailbox separator character.
CamelIMAPXNamespace * camel_imapx_namespace_new (CamelIMAPXNamespaceCategory category
,const gchar *prefix
,gchar separator
);
Creates a new CamelIMAPXNamespace from category
, prefix
and separator
.
Since: 3.12
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
CamelIMAPXNamespaceCategory
camel_imapx_namespace_get_category (CamelIMAPXNamespace *namespace_
);
Returns the CamelIMAPXNamespaceCategory for namespace
.
Since: 3.12
const gchar *
camel_imapx_namespace_get_prefix (CamelIMAPXNamespace *namespace_
);
Returns the mailbox prefix string for namespace
.
Since: 3.12
gchar
camel_imapx_namespace_get_separator (CamelIMAPXNamespace *namespace_
);
Returns the mailbox path separator charactor for namespace
.
Since: 3.12
void camel_imapx_namespace_response_add (CamelIMAPXNamespaceResponse *response
,CamelIMAPXNamespace *namespace
);
void camel_imapx_namespace_response_remove (CamelIMAPXNamespaceResponse *response
,CamelIMAPXNamespace *namespace
);
Removes namespace
from the list of namespaces in the response
.
If no such namespace exists then does nothing.
Since: 3.16