aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dbhash.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-11-19 04:02:06 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-11-19 04:02:06 +0800
commitb44f4b40e239c4c481eef4ef94c10d8159e72ef2 (patch)
tree1ce2a93e6f531add200d31fa3a8ab2de77cf261d /e-util/e-dbhash.h
parent45e03ba1dee9a53af1b0798a5b7149cf8000ca36 (diff)
downloadgsoc2013-evolution-b44f4b40e239c4c481eef4ef94c10d8159e72ef2.tar.gz
gsoc2013-evolution-b44f4b40e239c4c481eef4ef94c10d8159e72ef2.tar.zst
gsoc2013-evolution-b44f4b40e239c4c481eef4ef94c10d8159e72ef2.zip
remove db3 library, if you really want it, get it from e-d-s
2003-11-18 JP Rosevear <jpr@ximian.com> * Makefile.am: remove db3 library, if you really want it, get it from e-d-s svn path=/trunk/; revision=23424
Diffstat (limited to 'e-util/e-dbhash.h')
-rw-r--r--e-util/e-dbhash.h45
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 9772a60c41..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@ximian.com)
- *
- * Copyright 2000, Ximian, 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__ */
-