## CamelLocalSummary

CamelLocalSummary

## Functions

void | camel_local_summary_construct ()
gboolean | camel_local_summary_load ()
gint | camel_local_summary_check ()
gint | camel_local_summary_sync ()
CamelMessageInfo * | camel_local_summary_add ()
void | camel_local_summary_check_force ()
gchar * | camel_local_summary_encode_x_evolution ()
gint | camel_local_summary_decode_x_evolution ()
gint | camel_local_summary_write_headers ()

## Object Hierarchy

        GObject
        ╰── CamelFolderSummary
            ╰── CamelLocalSummary
                ├── CamelMaildirSummary
                ├── CamelMboxSummary
                ╰── CamelMhSummary

## Description

## Functions

### camel_local_summary_construct ()

    void
    camel_local_summary_construct (CamelLocalSummary *new,
                                   const gchar *local_name,
                                   CamelIndex *index);

### camel_local_summary_load ()

    gboolean
    camel_local_summary_load (CamelLocalSummary *cls,
                              gint forceindex,
                              GError **error);

### camel_local_summary_check ()

    gint
    camel_local_summary_check (CamelLocalSummary *cls,
                               CamelFolderChangeInfo *Param2,
                               GCancellable *cancellable,
                               GError **error);

### camel_local_summary_sync ()

    gint
    camel_local_summary_sync (CamelLocalSummary *cls,
                              gboolean expunge,
                              CamelFolderChangeInfo *Param3,
                              GCancellable *cancellable,
                              GError **error);

### camel_local_summary_add ()

    CamelMessageInfo *
    camel_local_summary_add (CamelLocalSummary *cls,
                             CamelMimeMessage *msg,
                             const CamelMessageInfo *info,
                             CamelFolderChangeInfo *Param4,
                             GError **error);

### camel_local_summary_check_force ()

    void
    camel_local_summary_check_force (CamelLocalSummary *cls);

### camel_local_summary_encode_x_evolution ()

    gchar *
    camel_local_summary_encode_x_evolution
                                   (CamelLocalSummary *cls,
                                    const CamelMessageInfo *info);

### camel_local_summary_decode_x_evolution ()

    gint
    camel_local_summary_decode_x_evolution
                                   (CamelLocalSummary *cls,
                                    const gchar *xev,
                                    CamelMessageInfo *info);

### camel_local_summary_write_headers ()

    gint
    camel_local_summary_write_headers (gint fd,
                                       CamelNameValueArray *headers,
                                       const gchar *xevline,
                                       const gchar *status,
                                       const gchar *xstatus);

Write a bunch of headers to the file `fd` . If xevline is non NULL, then an X-Evolution header line is created at the end of all of the headers. If `status` is non NULL, then a Status header line is also written. The headers written are termianted with a blank line.

#### Parameters

fd | a file descriptor to write to |
headers | a CamelNameValueArray with headers to write |
xevline | an optional value of X-Evolution header to add. | [nullable]
status | an optional value of Status header to add. | [nullable]
xstatus | an optional value of X-Status header to add. | [nullable]

#### Returns

-1 on error, otherwise the number of bytes written.