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";
const char * db_get_default_driver_name(void)
Get driver name from current DB connection settings.
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
const char * G_getenv_nofatal2(const char *, int)
Get environment variable from specific place.
const char * db_get_default_database_name(void)
Get database name from current DB connection settings.
#define DB_DEFAULT_DRIVER
const char * db_get_default_schema_name(void)
Get schema name from current DB connection settings.
char * G_location_path(void)
Get current location UNIX-like path.
const char * db_get_default_group_name(void)
Get group name from current DB connection settings.
int db_set_connection(dbConnection *)
Set default DB connection settings.
const char * G_mapset(void)
Get current mapset name.
void G_zero(void *, int)
Zero out a buffer, buf, of length i.
char * G_store(const char *)
Copy string to allocated memory.
int db_set_default_connection(void)
Sets up database connection settings using GRASS default from dbmi.h.
int G_debug(int, const char *,...) __attribute__((format(printf
int G_make_mapset_object_group(const char *)
Create directory for group of elements of a given type.