Lines Matching full:database
7 trivial database library - standalone version
168 /* the body of the database is made of one list_struct for the free space
190 /* this is stored at the front of every database */
225 char *name; /* the name of the database */
227 int fd; /* open file descriptor for the database */
302 {TDB_ERR_CORRUPT, "Corrupt database"},
402 /* lock a list in the database. list -1 is the alloc list */
475 /* lock a list in the database. list -1 is the alloc list */
487 /* lock a list in the database. list -1 is the alloc list. non-blocking lock */
494 /* unlock the database: returns void because it's too late for errors. */
618 /* lock/unlock entire database */
695 /* lock entire database with write lock */
701 /* lock entire database with write lock - mark only */
707 /* unlock entire database with write lock - unmark only */
713 /* lock entire database with write lock - nonblocking varient */
719 /* unlock entire database with write lock */
725 /* lock entire database with read lock */
731 /* lock entire database with read lock - nonblock varient */
737 /* unlock entire database with read lock */
833 see if the database has been expanded by someone else and expand
1050 /* expand the database at least size bytes by expanding the underlying
1066 the database up to a multiple of the page size */
1234 - only allow a single transaction at a time per database. This makes
1240 database, using a special 'transaction recovery' record pointed at
1253 to the real database.
2029 /* get the global lock - this prevents new users attaching to the database
2131 database write access already established (including the global
2167 TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_transaction_recover: attempt to recover read only database\n"));
2249 TDB_LOG((tdb, TDB_DEBUG_TRACE, "tdb_transaction_recover: recovered %d byte database\n",
2480 to a unconnected list_struct within the database with room for at
2551 database and if we can then try again */
2747 /* traverse the entire database - calling fn(tdb, key, data) on each element.
2863 /* find the first entry in the database and return its key */
2888 /* find the next entry in the database, returning its key */
3180 /* find an entry in the database given a key */
3206 * Find an entry in the database and hand the record's data to a parsing
3246 /* check if an entry in the database exists
3268 /* actually delete an entry in the database given the offset */
3363 /* delete an entry in the database given a key */
3451 /* store an element in the database, replacing any existing element
3727 /* initialise a new database with a specified hash size */
3787 /* open the database, creating it if necessary
3790 database file. A flags value of O_WRONLY is invalid. The hash size
3886 /* we need to zero database if we are the only one with it open */
3902 /* its not a valid database - possibly initialise it */
4013 * Close a database.