2 #include <grass/dbmi.h>
22 int db_set_handle(dbHandle * handle,
const char *dbName,
const char *dbSchema)
78 for (i = 0; i <
count; i++)
95 handle = (dbHandle *)
db_calloc(count,
sizeof(dbHandle));
97 for (i = 0; i <
count; i++)
void db_free_handle(dbHandle *handle)
void * db_calloc(int n, int m)
void db_free_handle_array(dbHandle *handle, int count)
const char * db_get_handle_dbschema(dbHandle *handle)
dbHandle * db_alloc_handle_array(int count)
int db_set_handle(dbHandle *handle, const char *dbName, const char *dbSchema)
char * db_get_string(dbString *x)
void db_init_handle(dbHandle *handle)
int db_set_string(dbString *x, const char *s)
void db_free_string(dbString *x)
const char * db_get_handle_dbname(dbHandle *handle)
void db_init_string(dbString *x)