diff options
author | nobody <nobody@localhost> | 2001-03-02 09:33:29 +0800 |
---|---|---|
committer | nobody <nobody@localhost> | 2001-03-02 09:33:29 +0800 |
commit | 6b19a9a37f29c5721b31a7a5fea9eb6b5d1c94db (patch) | |
tree | cda39502324bf50b451e5c7f58e5dee7c7476bad /e-util/e-dbhash.h | |
parent | 50ef074887b43f43dad3edb120d9abf30092c681 (diff) | |
download | gsoc2013-evolution-BALSA_1_1_2.tar.gz gsoc2013-evolution-BALSA_1_1_2.tar.zst gsoc2013-evolution-BALSA_1_1_2.zip |
This commit was manufactured by cvs2svn to create tag 'BALSA_1_1_2'.BALSA_1_1_2
svn path=/tags/BALSA_1_1_2/; revision=8470
Diffstat (limited to 'e-util/e-dbhash.h')
-rw-r--r-- | e-util/e-dbhash.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/e-util/e-dbhash.h b/e-util/e-dbhash.h deleted file mode 100644 index ac0b28d6a8..0000000000 --- a/e-util/e-dbhash.h +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * Writes hashes that go to/from disk in db form. Hash keys are strings - * - * Author: - * JP Rosevear (jpr@helixcode.com) - * - * Copyright 2000, Helix Code, Inc. - */ - -#ifndef __E_DBHASH_H__ -#define __E_DBHASH_H__ - -#include <glib.h> - -typedef enum { - E_DBHASH_STATUS_SAME, - E_DBHASH_STATUS_DIFFERENT, - E_DBHASH_STATUS_NOT_FOUND, -} EDbHashStatus; - -typedef struct _EDbHash EDbHash; -typedef struct _EDbHashPrivate EDbHashPrivate; - -struct _EDbHash -{ - EDbHashPrivate *priv; -}; - -typedef 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); - -#endif /* ! __E_DBHASH_H__ */ - |