select.c File Reference

#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/dbmi.h>

Include dependency graph for select.c:

Go to the source code of this file.

Functions

int db_select_int (dbDriver *driver, char *tab, char *col, char *where, int **pval)
int db_select_value (dbDriver *driver, char *tab, char *key, int id, char *col, dbValue *val)
int db_select_CatValArray (dbDriver *driver, char *tab, char *key, char *col, char *where, dbCatValArray *cvarr)
void db_CatValArray_sort (dbCatValArray *arr)
int db_CatValArray_get_value (dbCatValArray *arr, int key, dbCatVal **cv)
int db_CatValArray_get_value_int (dbCatValArray *arr, int key, int *val)
int db_CatValArray_get_value_double (dbCatValArray *arr, int key, double *val)


Function Documentation

int db_CatValArray_get_value ( dbCatValArray *  arr,
int  key,
dbCatVal **  cv 
)

Definition at line 316 of file select.c.

int db_CatValArray_get_value_double ( dbCatValArray *  arr,
int  key,
double *  val 
)

Definition at line 348 of file select.c.

int db_CatValArray_get_value_int ( dbCatValArray *  arr,
int  key,
int *  val 
)

Definition at line 332 of file select.c.

void db_CatValArray_sort ( dbCatValArray *  arr  ) 

Definition at line 307 of file select.c.

Referenced by db_select_CatValArray().

int db_select_CatValArray ( dbDriver *  driver,
char *  tab,
char *  key,
char *  col,
char *  where,
dbCatValArray *  cvarr 
)

int db_select_int ( dbDriver *  driver,
char *  tab,
char *  col,
char *  where,
int **  pval 
)

int db_select_value ( dbDriver *  driver,
char *  tab,
char *  key,
int  id,
char *  col,
dbValue *  val 
)


Generated on Sun Apr 6 17:31:55 2008 for GRASS by  doxygen 1.5.5