16 #include <grass/dbmi.h>
37 db_error(
"Multiple open databases not allowed");
int db_d_open_database(void)
Open database connection.
void db_free_handle(dbHandle *handle)
int(* db_driver_open_database)()
#define DB_RECV_HANDLE(x)
void db_error(const char *s)
const char * db_get_handle_dbschema(dbHandle *handle)
#define DB_SEND_FAILURE()
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_init_handle(dbHandle *handle)
#define DB_SEND_SUCCESS()
const char * db_get_handle_dbname(dbHandle *handle)