## CamelIMAPXStore CamelIMAPXStore |

## Synopsis

    struct              CamelIMAPXStore;
    CamelIMAPXServer *  camel_imapx_store_ref_server        (CamelIMAPXStore *store,
                                                             GError **error);
    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);

## Object Hierarchy

      GObject
       +----CamelObject
             +----CamelService
                   +----CamelStore
                         +----CamelOfflineStore
                               +----CamelIMAPXStore

## Implemented Interfaces

CamelIMAPXStore implements GInitable, CamelNetworkService and CamelSubscribable.

## Description

## Details

### struct CamelIMAPXStore

    struct CamelIMAPXStore;

### camel_imapx_store_ref_server ()

    CamelIMAPXServer *  camel_imapx_store_ref_server        (CamelIMAPXStore *store,
                                                             GError **error);

Returns the CamelIMAPXServer for `store`, if available.

As a convenience, if the `store` is not currently connected to an IMAP server, the function sets `error` to `CAMEL_SERVER_ERROR_UNAVAILABLE` and returns `NULL`. If an operation can possibly be executed while offline, pass `NULL` for `error`.

The returned CamelIMAPXServer is referenced for thread-safety and must be unreferenced with `g_object_unref()` when finished with it.

`store` : | a CamelIMAPXStore
`error` : | return location for a GError, or `NULL`
Returns : | a CamelIMAPXServer, or `NULL`

Since 3.10

### camel_imapx_store_dup_quota_info ()

    CamelFolderQuotaInfo * camel_imapx_store_dup_quota_info (CamelIMAPXStore *store,
                                                             const gchar *quota_root_name);

### camel_imapx_store_set_quota_info ()

    void                camel_imapx_store_set_quota_info    (CamelIMAPXStore *store,
                                                             const gchar *quota_root_name,
                                                             const CamelFolderQuotaInfo *info);