#include <stdlib.h>
#include <grass/dbmi.h>
#include "macros.h"
#include "dbstubs.h"
Go to the source code of this file.
Functions | |
int | db_d_open_database (void) |
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 d_opendb.c.
int db_d_open_database | ( | void | ) |
Open database connection.
DB_FAILED on failure
Definition at line 26 of file d_opendb.c.
References db__mark_database_open(), db__test_database_open(), db_driver_open_database, db_error(), db_free_handle(), db_get_handle_dbname(), db_get_handle_dbschema(), db_init_handle(), DB_RECV_HANDLE, DB_SEND_FAILURE, and DB_SEND_SUCCESS.