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)
int db_set_handle (dbHandle *handle, const char *dbName, const char *dbSchema)
const char * db_get_handle_dbname (dbHandle *handle)
const 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 90 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 73 of file handle.c.

References db_free_handle().

Referenced by db_d_list_databases().

const char* db_get_handle_dbname ( dbHandle *  handle  ) 

Definition at line 39 of file handle.c.

References db_get_string().

Referenced by db_d_open_database(), and db_find_database().

const char* db_get_handle_dbschema ( dbHandle *  handle  ) 

Definition at line 50 of file handle.c.

References db_get_string().

Referenced by db_d_open_database(), and db_find_database().

void db_init_handle ( dbHandle *  handle  ) 
int db_set_handle ( dbHandle *  handle,
const char *  dbName,
const char *  dbSchema 
)
Generated on Tue Apr 6 13:27:27 2010 for GRASS Programmer's Manual by  doxygen 1.6.3