DungeonCrawl
|
Implents functionality for working with the database. More...
Go to the source code of this file.
Functions | |
int | db_open (db_connection_t *db_connection, const char *db_name) |
This function is for the opening of the database. | |
void | db_close (db_connection_t *db_connection) |
This function is for the closing of the database. | |
int | db_is_open (const db_connection_t *db_connection) |
This function is to check if the database is open. | |
int | db_open_multiple_access (db_connection_t *db_connection, db_type_t type) |
This function is for the opening of the database with multiple access. |
Implents functionality for working with the database.
Definition in file database.c.
void db_close | ( | db_connection_t * | db_connection | ) |
This function is for the closing of the database.
db_connection | the database conncetion |
Definition at line 22 of file database.c.
int db_is_open | ( | const db_connection_t * | db_connection | ) |
This function is to check if the database is open.
db_connection | the database connection |
Definition at line 27 of file database.c.
int db_open | ( | db_connection_t * | db_connection, |
const char * | db_name ) |
This function is for the opening of the database.
db_connection | the database connection |
db_name | the path name of the database |
Definition at line 12 of file database.c.
int db_open_multiple_access | ( | db_connection_t * | db_connection, |
db_type_t | type ) |
This function is for the opening of the database with multiple access.
db_connection | the database connection |
type | the type of the database |
Definition at line 34 of file database.c.