GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
DBMI Library (client) - open database connection. More...
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <grass/spawn.h>
#include <grass/dbmi.h>
Go to the source code of this file.
Macros | |
#define | READ 0 |
#define | WRITE 1 |
Functions | |
dbDriver * | db_start_driver (const char *name) |
Initialize a new dbDriver for db transaction. More... | |
DBMI Library (client) - open database connection.
(C) 1999-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file start.c.
#define READ 0 |
Definition at line 28 of file start.c.
Referenced by db_start_driver().
#define WRITE 1 |
Definition at line 29 of file start.c.
Referenced by db_start_driver().
dbDriver* db_start_driver | ( | const char * | name | ) |
Initialize a new dbDriver for db transaction.
If name is NULL, the db name will be assigned connection.driverName.
name | driver name |
Definition at line 43 of file start.c.
References db__recv_return_code(), db__set_protocol_fds(), db_copy_dbmscap_entry(), db_error(), db_free_dbmscap(), db_get_connection(), db_malloc(), db_read_dbmscap(), db_syserror(), driver, G__getenv(), G_debug(), G_get_gisrc_mode(), G_putenv(), G_spawn_ex(), wxnviz::msg, NULL, READ, sprintf(), stat, and WRITE.
Referenced by wxdigit.IVDigit::CopyCats(), db__copy_table(), 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().