#include <grass/dbmi.h>
#include "macros.h"
Go to the source code of this file.
Functions | |
int | db_list_databases (dbDriver *driver, dbString *path, int npaths, dbHandle **handles, int *count) |
List databases. |
(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 c_listdb.c.
int db_list_databases | ( | dbDriver * | driver, | |
dbString * | path, | |||
int | npaths, | |||
dbHandle ** | handles, | |||
int * | count | |||
) |
List databases.
driver | db driver | |
path | db path | |
npaths | number of given paths | |
[out] | handles | handle infos |
[out] | number | of handle infos |
DB_FAILED on failure
Definition at line 30 of file c_listdb.c.
References db__set_protocol_fds(), db_alloc_handle_array(), DB_RECV_HANDLE, DB_RECV_INT, DB_RECV_RETURN_CODE, DB_SEND_STRING_ARRAY, and DB_START_PROCEDURE_CALL.