GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
d_list_tabs.c File Reference

DBMI Library (driver) - list tables. More...

#include <grass/dbmi.h>
#include "macros.h"
#include "dbstubs.h"
Include dependency graph for d_list_tabs.c:

Go to the source code of this file.

Functions

int db_d_list_tables (void)
 List available tables for given connection. More...
 

Detailed Description

DBMI Library (driver) - list tables.

(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.

Author
Joel Jones (CERL/UIUC), Radim Blazek

Definition in file d_list_tabs.c.

Function Documentation

int db_d_list_tables ( void  )

List available tables for given connection.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 25 of file d_list_tabs.c.

References count, db_driver_list_tables, DB_RECV_INT, DB_SEND_FAILURE, DB_SEND_STRING_ARRAY, DB_SEND_SUCCESS, and stat.