## camel-kolab-imapx-metadata camel-kolab-imapx-metadata |

## Synopsis

    struct              CamelKolabImapxMetadata;
    void                camel_kolab_imapx_metadata_free     (CamelKolabImapxMetadata *kmd);
    gboolean            camel_kolab_imapx_metadata_init     (CamelKolabImapxMetadata *kmd,
                                                             const gchar *cachepath,
                                                             GError **err);
    CamelKolabImapxMetadata * camel_kolab_imapx_metadata_new
                                                            (void);
    gboolean            camel_kolab_imapx_metadata_remove   (CamelKolabImapxMetadata *kmd,
                                                             const gchar *foldername,
                                                             GError **err);
    gboolean            camel_kolab_imapx_metadata_shutdown (CamelKolabImapxMetadata *kmd,
                                                             GError **err);
    void                camel_kolab_imapx_metadata_update   (CamelKolabImapxMetadata *kmd,
                                                             CamelImapxMetadata *md,
                                                             camel_imapx_metadata_proto_t proto);

## Description

## Details

### struct CamelKolabImapxMetadata

    struct CamelKolabImapxMetadata {
    	CamelKolabImapxMetadataDb  *mdb; /* persistent DB */
    	GHashTable *kolab_metadata;		/* for CamelKolabFolderMetadata */
    };

### camel_kolab_imapx_metadata_free ()

    void                camel_kolab_imapx_metadata_free     (CamelKolabImapxMetadata *kmd);

### camel_kolab_imapx_metadata_init ()

    gboolean            camel_kolab_imapx_metadata_init     (CamelKolabImapxMetadata *kmd,
                                                             const gchar *cachepath,
                                                             GError **err);

### camel_kolab_imapx_metadata_new ()

    CamelKolabImapxMetadata * camel_kolab_imapx_metadata_new
                                                            (void);

### camel_kolab_imapx_metadata_remove ()

    gboolean            camel_kolab_imapx_metadata_remove   (CamelKolabImapxMetadata *kmd,
                                                             const gchar *foldername,
                                                             GError **err);

### camel_kolab_imapx_metadata_shutdown ()

    gboolean            camel_kolab_imapx_metadata_shutdown (CamelKolabImapxMetadata *kmd,
                                                             GError **err);

### camel_kolab_imapx_metadata_update ()

    void                camel_kolab_imapx_metadata_update   (CamelKolabImapxMetadata *kmd,
                                                             CamelImapxMetadata *md,
                                                             camel_imapx_metadata_proto_t proto);