CamelImapFolder
3
CAMEL Library

# CamelImapFolder

## Synopsis

    struct              CamelImapFolder;
    CamelFolder *       camel_imap_folder_new               (CamelStore *parent,
                                                             const char *folder_name,
                                                             const char *folder_dir,
                                                             CamelException *ex);
    void                camel_imap_folder_selected          (CamelFolder *folder,
                                                             CamelImapResponse *response,
                                                             CamelException *ex);
    void                camel_imap_folder_changed           (CamelFolder *folder,
                                                             int exists,
                                                             GArray *expunged,
                                                             CamelException *ex);
    CamelStream *       camel_imap_folder_fetch_data        (CamelImapFolder *imap_folder,
                                                             const char *uid,
                                                             const char *section_text,
                                                             gboolean cache_only,
                                                             CamelException *ex);
    void                imap_append_resyncing               (CamelFolder *folder,
                                                             CamelMimeMessage *message,
                                                             const CamelMessageInfo *info,
                                                             char **appended_uid,
                                                             CamelException *ex);
    void                imap_transfer_resyncing             (CamelFolder *source,
                                                             GPtrArray *uids,
                                                             CamelFolder *dest,
                                                             GPtrArray **transferred_uids,
                                                             gboolean delete_originals,
                                                             CamelException *ex);
    void                imap_expunge_uids_resyncing         (CamelFolder *folder,
                                                             GPtrArray *uids,
                                                             CamelException *ex);

## Description

## Details

### struct CamelImapFolder

    struct CamelImapFolder {
    	CamelOfflineFolder parent_object;

    	CamelImapFolderPrivate *priv;

    	CamelFolderSearch *search;
    	CamelImapMessageCache *cache;
    	CamelOfflineJournal *journal;

    	unsigned int need_rescan:1;
    	unsigned int need_refresh:1;
    	unsigned int read_only:1;
    	unsigned int check_folder:1;
    };

### camel_imap_folder_new ()

    CamelFolder *       camel_imap_folder_new               (CamelStore *parent,
                                                             const char *folder_name,
                                                             const char *folder_dir,
                                                             CamelException *ex);

`parent` :

`folder_name` :

`folder_dir` :

`ex` :

Returns :

### camel_imap_folder_selected ()

    void                camel_imap_folder_selected          (CamelFolder *folder,
                                                             CamelImapResponse *response,
                                                             CamelException *ex);

`folder` :

`response` :

`ex` :

### camel_imap_folder_changed ()

    void                camel_imap_folder_changed           (CamelFolder *folder,
                                                             int exists,
                                                             GArray *expunged,
                                                             CamelException *ex);

`folder` :

`exists` :

`expunged` :

`ex` :

### camel_imap_folder_fetch_data ()

    CamelStream *       camel_imap_folder_fetch_data        (CamelImapFolder *imap_folder,
                                                             const char *uid,
                                                             const char *section_text,
                                                             gboolean cache_only,
                                                             CamelException *ex);

`imap_folder` :

`uid` :

`section_text` :

`cache_only` :

`ex` :

Returns :

### imap_append_resyncing ()

    void                imap_append_resyncing               (CamelFolder *folder,
                                                             CamelMimeMessage *message,
                                                             const CamelMessageInfo *info,
                                                             char **appended_uid,
                                                             CamelException *ex);

`folder` :

`message` :

`info` :

`appended_uid` :

`ex` :

### imap_transfer_resyncing ()

    void                imap_transfer_resyncing             (CamelFolder *source,
                                                             GPtrArray *uids,
                                                             CamelFolder *dest,
                                                             GPtrArray **transferred_uids,
                                                             gboolean delete_originals,
                                                             CamelException *ex);

`source` :

`uids` :

`dest` :

`transferred_uids` :

`delete_originals` :

`ex` :

### imap_expunge_uids_resyncing ()

    void                imap_expunge_uids_resyncing         (CamelFolder *folder,
                                                             GPtrArray *uids,
                                                             CamelException *ex);

`folder` :

`uids` :

`ex` :