27 db_zero((
void *)&state,
sizeof(state));
48 return state.
open ? 1 : 0;
114 for (i = 0; i < state.
ncursors; i++)
126 for (i = 0; i < state.
ncursors; i++)
void * db_realloc(void *, int)
Reallocate memory.
char * db_store(const char *)
Make a copy of string buffer.
void db__add_cursor_to_driver_state(dbCursor *cursor)
Add cursor do driver state.
void db_zero(void *, int)
Zero allocated space.
void db_free(void *)
Free allocated memory.
void db__close_all_cursors(void)
Close all cursors.
void db__mark_database_closed(void)
Mark database as closed.
void db__mark_database_open(const char *dbname, const char *dbschema)
Mark database as opened.
int db__test_database_open(void)
Test database connection.
void db__drop_cursor_from_driver_state(dbCursor *cursor)
Drop cursor from driver state.
int(* db_driver_close_cursor)(dbCursor *)
void db__init_driver_state(void)
Initialize driver state.
dbDriverState * db__get_driver_state(void)
Get driver state.