CamelImapSummary
3
CAMEL Library

# CamelImapSummary

## Synopsis

    #define             CAMEL_IMAP_SERVER_FLAGS
                        CamelImapMessageContentInfo;
                        CamelImapMessageInfo;
    struct              CamelImapSummary;
    CamelFolderSummary* camel_imap_summary_new              (struct _CamelFolder *folder,
                                                             const char *filename);
    void                camel_imap_summary_add_offline      (CamelFolderSummary *summary,
                                                             const char *uid,
                                                             CamelMimeMessage *message,
                                                             const CamelMessageInfo *info);
    void                camel_imap_summary_add_offline_uncached
                                                            (CamelFolderSummary *summary,
                                                             const char *uid,
                                                             const CamelMessageInfo *info);

## Description

## Details

### CAMEL_IMAP_SERVER_FLAGS

    #define             CAMEL_IMAP_SERVER_FLAGS

### CamelImapMessageContentInfo

    typedef struct {
    	CamelMessageContentInfo info;
    } CamelImapMessageContentInfo;

### CamelImapMessageInfo

    typedef struct {
    	CamelMessageInfoBase info;

    	guint32 server_flags;
    } CamelImapMessageInfo;

### struct CamelImapSummary

    struct CamelImapSummary {
    	CamelFolderSummary parent;

    	guint32 version;
    	guint32 validity;
    };

### camel_imap_summary_new ()

    CamelFolderSummary* camel_imap_summary_new              (struct _CamelFolder *folder,
                                                             const char *filename);

This will create a new CamelImapSummary object and read in the summary data from disk, if it exists.

`folder` :

  Parent folder.

`filename` :

  the file to store the summary in.

Returns :

  A new CamelImapSummary object.

### camel_imap_summary_add_offline ()

    void                camel_imap_summary_add_offline      (CamelFolderSummary *summary,
                                                             const char *uid,
                                                             CamelMimeMessage *message,
                                                             const CamelMessageInfo *info);

`summary` :

`uid` :

`message` :

`info` :

### camel_imap_summary_add_offline_uncached ()

    void                camel_imap_summary_add_offline_uncached
                                                            (CamelFolderSummary *summary,
                                                             const char *uid,
                                                             const CamelMessageInfo *info);

`summary` :

`uid` :

`info` :