1 #include <grass/dbmi.h>
11 for (i = 0; i < table->numColumns; i++) {
34 for (i = 0; i < t->numColumns; i++) {
50 ncols = table->numColumns;
52 for (i = 0; i < ncols; i++) {
63 ncols = table->numColumns;
67 db_error(
"fetch: table has wrong number of columns");
70 for (i = 0; i < ncols; i++) {
dbColumn * db_get_table_column(dbTable *table, int n)
returns column structure for given table and column number
int db__recv_table_definition(dbTable **table)
#define DB_RECV_COLUMN_DEFINITION(x)
int db__recv_table_data(dbTable *table)
dbTable * db_alloc_table(int ncols)
void db_error(const char *s)
int db_get_error_code(void)
#define DB_SEND_COLUMN_VALUE(x)
#define DB_SEND_STRING(x)
int db__send_table_definition(dbTable *table)
int db__send_table_data(dbTable *table)
#define DB_SEND_COLUMN_DEFINITION(x)
#define DB_RECV_COLUMN_VALUE(x)
#define DB_RECV_STRING(x)