Lines Matching defs:database

26 ** SMDB_MALLOC_DATABASE -- Allocates a database structure.
51 ** SMDB_FREE_DATABASE -- Unallocates a database structure.
54 ** database -- a SMDB_DATABASE pointer to deallocate.
61 smdb_free_database(database)
62 SMDB_DATABASE *database;
64 if (database != NULL)
65 free(database);
161 ** SMDB_OPEN_DATABASE -- Opens a database.
163 ** This opens a database. If type is SMDB_DEFAULT it tries to
166 ** a database of that type.
169 ** database -- An pointer to a SMDB_DATABASE pointer where the
170 ** opened database will be stored. This should
172 ** db_name -- The name of the database to open. Do not include
174 ** mode -- The mode to set on the database file or files.
175 ** mode_mask -- Mode bits that must match on an opened database.
177 ** type -- The type of database to open. Supported types
181 ** params -- Params specific to the database being opened.
192 smdb_open_database(database, db_name, mode, mode_mask, sff, type, user_info,
194 SMDB_DATABASE **database;
226 result = smdb_db_open(database, db_name, mode, mode_mask, sff,
244 result = smdb_ndbm_open(database, db_name, mode, mode_mask,
302 ** SMDB_LOCK_FILE -- Locks the database file.
304 ** Locks the actual database file.
308 ** db_name -- The name of the database without extension.
364 ** SMDB_LOCK_MAP -- Locks a database.
367 ** database -- database description.
377 smdb_lock_map(database, type)
378 SMDB_DATABASE *database;
383 fd = database->smdb_lockfd(database);
391 ** SMDB_UNLOCK_MAP -- Unlocks a database
394 ** database -- database description.
401 smdb_unlock_map(database)
402 SMDB_DATABASE *database;
406 fd = database->smdb_lockfd(database);
420 ** db_name -- The name of the database without extension.
465 ** db_name -- The name of the database without extension.
467 ** db_fd -- A file descriptor for the database file.
511 ** SMDB_DB_DEFINITION -- Given a database type, return database definition
513 ** Reads though a structure making an association with the database
518 ** type -- The name of the database type.