GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 count, 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 count, db_free(), and 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().