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  ) 

Definition at line 69 of file handle.c.

References db_free_string().

Referenced by db_d_create_database(), db_d_delete_database(), db_d_find_database(), db_d_open_database(), db_find_database(), and db_free_handle_array().

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  ) 

Definition at line 11 of file handle.c.

References db_init_string().

Referenced by db__copy_table(), db_alloc_handle_array(), db_d_create_database(), db_d_delete_database(), db_d_find_database(), db_d_open_database(), db_delete_table(), and db_start_driver_open_database().

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

Definition at line 24 of file handle.c.

References db_set_string().

Referenced by db__copy_table(), db_delete_table(), db_find_database(), and db_start_driver_open_database().


Generated on Fri Nov 21 11:01:59 2008 for GRASS by  doxygen 1.5.1