101 "Creating new default DB params with db_set_default_connection()");
110 connection.
databaseName =
"$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/";
134 "$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db";
int db_set_default_connection(void)
Sets up database connection settings using GRASS default from dbmi.h.
const char * db_get_default_database_name(void)
Get database name from current DB connection settings.
const char * db_get_default_group_name(void)
Get group name from current DB connection settings.
const char * db_get_default_driver_name(void)
Get driver name from current DB connection settings.
const char * db_get_default_schema_name(void)
Get schema name from current DB connection settings.
#define DB_DEFAULT_DRIVER
int db_set_connection(dbConnection *)
Set default DB connection settings.
void G_zero(void *, int)
Zero out a buffer, buf, of length i.
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
int G_make_mapset_object_group(const char *)
Create directory for group of elements of a given type.
const char * G_getenv_nofatal2(const char *, int)
Get environment variable from specific place.
const char * G_mapset(void)
Get current mapset name.
char * G_location_path(void)
Get current location UNIX-like path.
int G_debug(int, const char *,...) __attribute__((format(printf
char * G_store(const char *)
Copy string to allocated memory.