41 char default_connection[2048];
43 G_snprintf(default_connection, 2048,
"$GISDBASE/$LOCATION_NAME/$MAPSET/%s",
46 return G_store(default_connection);
69 G_fatal_error(
_(
"Programmer error - only SQLite driver is currently supported"));
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
const char * tgis_get_default_driver_name(void)
Get default TGIS driver name.
void G_free(void *)
Free allocated memory.
int tgis_set_default_connection(void)
Sets up TGIS database connection settings using GRASS default.
#define TGISDB_DEFAULT_SQLITE_PATH
int tgis_set_connection(dbConnection *connection)
Set Temporal GIS DB connection settings.
char * tgis_get_default_database_name(void)
Get default TGIS database name for the sqlite connection.
#define TGISDB_DEFAULT_DRIVER
int G_snprintf(char *, size_t, const char *,...) __attribute__((format(printf
char * G_store(const char *)
Copy string to allocated memory.