## camel camel |

## Synopsis

    gint                camel_init                          (const gchar *certdb_dir,
                                                             gboolean nss_init);
    void                camel_shutdown                      (void);
    enum                CamelFetchHeadersType;
    enum                CamelSortType;

## Description

## Details

### camel_init ()

    gint                camel_init                          (const gchar *certdb_dir,
                                                             gboolean nss_init);

### camel_shutdown ()

    void                camel_shutdown                      (void);

Since 2.24

### enum CamelFetchHeadersType

    typedef enum {
    	CAMEL_FETCH_HEADERS_BASIC,
    	CAMEL_FETCH_HEADERS_BASIC_AND_MAILING_LIST,
    	CAMEL_FETCH_HEADERS_ALL
    } CamelFetchHeadersType;

Describes what headers to fetch when downloading message summaries.

`CAMEL_FETCH_HEADERS_BASIC` | Fetch only basic headers (Date, From, To, Subject, etc.).
`CAMEL_FETCH_HEADERS_BASIC_AND_MAILING_LIST` | Fetch all basic headers and mailing list headers.
`CAMEL_FETCH_HEADERS_ALL` | Fetch all available message headers.

Since 3.2

### enum CamelSortType

    typedef enum {
    	CAMEL_SORT_ASCENDING,
    	CAMEL_SORT_DESCENDING
    } CamelSortType;

Determines the direction of a sort.

`CAMEL_SORT_ASCENDING` | Sorting is in ascending order.
`CAMEL_SORT_DESCENDING` | Sorting is in descending order.

Since 3.2