47 return state.open ? 1 : 0;
85 for (i = 0; i <
state.ncursors; i++)
90 if (i >=
state.ncursors) {
96 state.ncursors = i + 1;
112 for (i = 0; i <
state.ncursors; i++)
113 if (
state.cursor_list[i] == cursor)
124 for (i = 0; i <
state.ncursors; i++)
125 if (
state.cursor_list[i])
128 if (
state.cursor_list)
int(* db_driver_close_cursor)(dbCursor *)
void db_free(void *)
Free allocated memory.
void db_zero(void *, int)
Zero allocated space.
char * db_store(const char *)
Make a copy of string buffer.
void * db_realloc(void *, int)
Reallocate memory.
void db__close_all_cursors(void)
Close all cursors.
dbDriverState * db__get_driver_state(void)
Get driver state.
int db__test_database_open(void)
Test database connection.
void db__add_cursor_to_driver_state(dbCursor *cursor)
Add cursor do driver state.
void db__init_driver_state(void)
Initialize driver state.
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.
void db__drop_cursor_from_driver_state(dbCursor *cursor)
Drop cursor from driver state.