## e-dbhash e-dbhash |

## Synopsis

    enum                EDbHashStatus;
                        EDbHash;
                        EDbHashPrivate;
    void                (*EDbHashFunc)                      (const gchar *key,
                                                             gpointer user_data);
    EDbHash *           e_dbhash_new                        (const gchar *filename);
    void                e_dbhash_add                        (EDbHash *edbh,
                                                             const gchar *key,
                                                             const gchar *data);
    void                e_dbhash_remove                     (EDbHash *edbh,
                                                             const gchar *key);
    EDbHashStatus       e_dbhash_compare                    (EDbHash *edbh,
                                                             const gchar *key,
                                                             const gchar *compare_data);
    void                e_dbhash_foreach_key                (EDbHash *edbh,
                                                             EDbHashFunc func,
                                                             gpointer user_data);
    void                e_dbhash_write                      (EDbHash *edbh);
    void                e_dbhash_destroy                    (EDbHash *edbh);

## Description

## Details

### enum EDbHashStatus

    typedef enum {
    	E_DBHASH_STATUS_SAME,
    	E_DBHASH_STATUS_DIFFERENT,
    	E_DBHASH_STATUS_NOT_FOUND
    } EDbHashStatus;

### EDbHash

    typedef struct {
    	EDbHashPrivate *priv;
    } EDbHash;

### EDbHashPrivate

    typedef struct _EDbHashPrivate EDbHashPrivate;

### EDbHashFunc ()

    void                (*EDbHashFunc)                      (const gchar *key,
                                                             gpointer user_data);

`key` : |
`user_data` : |

### e_dbhash_new ()

    EDbHash *           e_dbhash_new                        (const gchar *filename);

`filename` : |
Returns : |

### e_dbhash_add ()

    void                e_dbhash_add                        (EDbHash *edbh,
                                                             const gchar *key,
                                                             const gchar *data);

`edbh` : |
`key` : |
`data` : |

### e_dbhash_remove ()

    void                e_dbhash_remove                     (EDbHash *edbh,
                                                             const gchar *key);

`edbh` : |
`key` : |

### e_dbhash_compare ()

    EDbHashStatus       e_dbhash_compare                    (EDbHash *edbh,
                                                             const gchar *key,
                                                             const gchar *compare_data);

`edbh` : |
`key` : |
`compare_data` : |
Returns : |

### e_dbhash_foreach_key ()

    void                e_dbhash_foreach_key                (EDbHash *edbh,
                                                             EDbHashFunc func,
                                                             gpointer user_data);

`edbh` : |
`func` : |
`user_data` : |

### e_dbhash_write ()

    void                e_dbhash_write                      (EDbHash *edbh);

`edbh` : |

### e_dbhash_destroy ()

    void                e_dbhash_destroy                    (EDbHash *edbh);

`edbh` : |