/* -*- 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 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__ */ /> index : freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Parse-FixedLength
Commit message (Expand)AuthorAgeFilesLines
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-3/+3
* Update to 5.37.tobez2005-12-302-4/+4
* Update to 5.36.tobez2005-12-052-3/+4