handle.c File Reference

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

Include dependency graph for handle.c:

Go to the source code of this file.

Functions

void db_init_handle (dbHandle *handle)
 db_set_handle (dbHandle *handle, char *dbName, char *dbSchema)
char * db_get_handle_dbname (dbHandle *handle)
char * db_get_handle_dbschema (dbHandle *handle)
void db_free_handle (dbHandle *handle)
void db_free_handle_array (dbHandle *handle, int count)
dbHandle * db_alloc_handle_array (int count)


Function Documentation

dbHandle* db_alloc_handle_array ( int  count  ) 

Definition at line 103 of file handle.c.

References db_calloc(), and db_init_handle().

Referenced by db_list_databases().

void db_free_handle ( dbHandle *  handle  ) 

void db_free_handle_array ( dbHandle *  handle,
int  count 
)

Definition at line 83 of file handle.c.

References db_free_handle().

Referenced by db_d_list_databases().

char* db_get_handle_dbname ( dbHandle *  handle  ) 

Definition at line 43 of file handle.c.

References db_get_string().

Referenced by db_d_open_database(), and db_find_database().

char* db_get_handle_dbschema ( dbHandle *  handle  ) 

Definition at line 56 of file handle.c.

References db_get_string().

Referenced by db_d_open_database(), and db_find_database().

void db_init_handle ( dbHandle *  handle  ) 

db_set_handle ( dbHandle *  handle,
char *  dbName,
char *  dbSchema 
)


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