Lines Matching refs:database

24 ** SMDB_MALLOC_DATABASE -- Allocates a database structure.
49 ** SMDB_FREE_DATABASE -- Unallocates a database structure.
52 ** database -- a SMDB_DATABASE pointer to deallocate.
59 smdb_free_database(database)
60 SMDB_DATABASE *database;
62 if (database != NULL)
63 free(database);
159 ** SMDB_OPEN_DATABASE -- Opens a database.
161 ** This opens a database. If type is SMDB_DEFAULT it tries to
164 ** a database of that type.
167 ** database -- An pointer to a SMDB_DATABASE pointer where the
168 ** opened database will be stored. This should
170 ** db_name -- The name of the database to open. Do not include
172 ** mode -- The mode to set on the database file or files.
173 ** mode_mask -- Mode bits that must match on an opened database.
175 ** type -- The type of database to open. Supported types
179 ** params -- Params specific to the database being opened.
190 smdb_open_database(database, db_name, mode, mode_mask, sff, type, user_info,
192 SMDB_DATABASE **database;
224 result = smdb_db_open(database, db_name, mode, mode_mask, sff,
242 result = smdb_ndbm_open(database, db_name, mode, mode_mask,
300 ** SMDB_LOCK_FILE -- Locks the database file.
302 ** Locks the actual database file.
306 ** db_name -- The name of the database without extension.
362 ** SMDB_LOCK_MAP -- Locks a database.
365 ** database -- database description.
375 smdb_lock_map(database, type)
376 SMDB_DATABASE *database;
381 fd = database->smdb_lockfd(database);
389 ** SMDB_UNLOCK_MAP -- Unlocks a database
392 ** database -- database description.
399 smdb_unlock_map(database)
400 SMDB_DATABASE *database;
404 fd = database->smdb_lockfd(database);
418 ** db_name -- The name of the database without extension.
463 ** db_name -- The name of the database without extension.
465 ** db_fd -- A file descriptor for the database file.
509 ** SMDB_DB_DEFINITION -- Given a database type, return database definition
511 ** Reads though a structure making an association with the database
516 ** type -- The name of the database type.