## CamelDiscoDiary CamelDiscoDiary |

## Synopsis

    struct              CamelDiscoDiary;
    enum                CamelDiscoDiaryAction;
    enum                CamelDiscoDiaryArgType;
    CamelDiscoDiary *   camel_disco_diary_new               (CamelDiscoStore *store,
                                                             const gchar *filename,
                                                             CamelException *ex);
    gboolean            camel_disco_diary_empty             (CamelDiscoDiary *diary);
    void                camel_disco_diary_log               (CamelDiscoDiary *diary,
                                                             CamelDiscoDiaryAction action,
                                                             ...);
    void                camel_disco_diary_replay            (CamelDiscoDiary *diary,
                                                             CamelException *ex);
    void                camel_disco_diary_uidmap_add        (CamelDiscoDiary *diary,
                                                             const gchar *old_uid,
                                                             const gchar *new_uid);
    const gchar *       camel_disco_diary_uidmap_lookup     (CamelDiscoDiary *diary,
                                                             const gchar *uid);

## Description

## Details

### struct CamelDiscoDiary

    struct CamelDiscoDiary {
    	CamelObject parent_object;

    	CamelDiscoStore *store;
    	FILE *file;
    	GHashTable *folders, *uidmap;
    };

### Warning

`CamelDiscoDiary` is deprecated and should not be used in newly-written code.

### enum CamelDiscoDiaryAction

    typedef enum {
    	CAMEL_DISCO_DIARY_END = 0,

    	CAMEL_DISCO_DIARY_FOLDER_EXPUNGE,
    	CAMEL_DISCO_DIARY_FOLDER_APPEND,
    	CAMEL_DISCO_DIARY_FOLDER_TRANSFER
    } CamelDiscoDiaryAction;

### Warning

`CamelDiscoDiaryAction` is deprecated and should not be used in newly-written code.

### enum CamelDiscoDiaryArgType

    typedef enum {
    	CAMEL_DISCO_DIARY_ARG_NONE = 0,

    	CAMEL_DISCO_DIARY_ARG_FOLDER,
    	CAMEL_DISCO_DIARY_ARG_UID,
    	CAMEL_DISCO_DIARY_ARG_UID_LIST
    } CamelDiscoDiaryArgType;

### Warning

`CamelDiscoDiaryArgType` is deprecated and should not be used in newly-written code.

### camel_disco_diary_new ()

    CamelDiscoDiary *   camel_disco_diary_new               (CamelDiscoStore *store,
                                                             const gchar *filename,
                                                             CamelException *ex);

### Warning

`camel_disco_diary_new` is deprecated and should not be used in newly-written code.

`store` : |
`filename` : |
`ex` : |
Returns : |

### camel_disco_diary_empty ()

    gboolean            camel_disco_diary_empty             (CamelDiscoDiary *diary);

### Warning

`camel_disco_diary_empty` is deprecated and should not be used in newly-written code.

`diary` : |
Returns : |

### camel_disco_diary_log ()

    void                camel_disco_diary_log               (CamelDiscoDiary *diary,
                                                             CamelDiscoDiaryAction action,
                                                             ...);

### Warning

`camel_disco_diary_log` is deprecated and should not be used in newly-written code.

`diary` : |
`action` : |
`...` : |

### camel_disco_diary_replay ()

    void                camel_disco_diary_replay            (CamelDiscoDiary *diary,
                                                             CamelException *ex);

### Warning

`camel_disco_diary_replay` is deprecated and should not be used in newly-written code.

`diary` : |
`ex` : |

### camel_disco_diary_uidmap_add ()

    void                camel_disco_diary_uidmap_add        (CamelDiscoDiary *diary,
                                                             const gchar *old_uid,
                                                             const gchar *new_uid);

### Warning

`camel_disco_diary_uidmap_add` is deprecated and should not be used in newly-written code.

`diary` : |
`old_uid` : |
`new_uid` : |

### camel_disco_diary_uidmap_lookup ()

    const gchar *       camel_disco_diary_uidmap_lookup     (CamelDiscoDiary *diary,
                                                             const gchar *uid);

### Warning

`camel_disco_diary_uidmap_lookup` is deprecated and should not be used in newly-written code.

`diary` : |
`uid` : |
Returns : |