#include <stdlib.h>
#include <grass/dbmi.h>
#include "dbstubs.h"
Go to the source code of this file.
Functions | |
void | db__init_driver_state (void) |
dbDriverState * | db__get_driver_state (void) |
int | db__test_database_open (void) |
void | db__mark_database_open (char *dbname, char *dbschema) |
void | db__mark_database_closed (void) |
void | db__add_cursor_to_driver_state (dbCursor *cursor) |
void | db__drop_cursor_from_driver_state (dbCursor *cursor) |
void | db__close_all_cursors (void) |
void db__add_cursor_to_driver_state | ( | dbCursor * | cursor | ) |
Definition at line 49 of file driver_state.c.
References db_realloc().
Referenced by db_d_open_insert_cursor(), db_d_open_select_cursor(), and db_d_open_update_cursor().
void db__close_all_cursors | ( | void | ) |
Definition at line 88 of file driver_state.c.
References db_driver_close_cursor.
Referenced by db_d_close_database().
void db__drop_cursor_from_driver_state | ( | dbCursor * | cursor | ) |
dbDriverState* db__get_driver_state | ( | void | ) |
Definition at line 17 of file driver_state.c.
void db__init_driver_state | ( | void | ) |
Definition at line 10 of file driver_state.c.
References db_zero().
Referenced by db_d_close_database(), and db_driver().
void db__mark_database_closed | ( | void | ) |
void db__mark_database_open | ( | char * | dbname, | |
char * | dbschema | |||
) |
int db__test_database_open | ( | void | ) |
Definition at line 24 of file driver_state.c.
Referenced by db_d_close_database(), and db_d_open_database().