Evolution API Reference: libedataserver, utility library | ||||
---|---|---|---|---|
enum EDbHashStatus; EDbHash; EDbHashPrivate; void (*EDbHashFunc) (const char *key, gpointer user_data); EDbHash* e_dbhash_new (const char *filename); void e_dbhash_add (EDbHash *edbh, const char *key, const char *data); void e_dbhash_remove (EDbHash *edbh, const char *key); EDbHashStatus e_dbhash_compare (EDbHash *edbh, const char *key, const char *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);
typedef enum { E_DBHASH_STATUS_SAME, E_DBHASH_STATUS_DIFFERENT, E_DBHASH_STATUS_NOT_FOUND, } EDbHashStatus;
void e_dbhash_add (EDbHash *edbh, const char *key, const char *data);
edbh : |
|
key : |
|
data : |
EDbHashStatus e_dbhash_compare (EDbHash *edbh, const char *key, const char *compare_data);
edbh : |
|
key : |
|
compare_data : |
|
Returns : |
void e_dbhash_foreach_key (EDbHash *edbh, EDbHashFunc func, gpointer user_data);
edbh : |
|
func : |
|
user_data : |