GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdlib.h>
#include <grass/dbmi.h>
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) |
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 | ) |
Definition at line 61 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 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().
void db_init_handle | ( | dbHandle * | handle | ) |
Definition at line 10 of file handle.c.
References db_init_string().
Referenced by wxdigit.IVDigit::CopyCats(), db__copy_table(), db_alloc_handle_array(), db_d_create_database(), db_d_delete_database(), db_d_find_database(), db_d_open_database(), db_start_driver_open_database(), wxdigit.IVDigit::DeleteSelectedLines(), F_generate(), IL_vector_input_data_2d(), submit(), Vect_get_column_names(), Vect_get_column_names_types(), Vect_get_column_types(), and Vect_net_build_graph().
int db_set_handle | ( | dbHandle * | handle, |
const char * | dbName, | ||
const char * | dbSchema | ||
) |
Definition at line 22 of file handle.c.
References db_set_string(), and stat.
Referenced by wxdigit.IVDigit::CopyCats(), db__copy_table(), db_find_database(), db_start_driver_open_database(), wxdigit.IVDigit::DeleteSelectedLines(), F_generate(), IL_vector_input_data_2d(), submit(), Vect_get_column_names(), Vect_get_column_names_types(), and Vect_get_column_types().