GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73574
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
d_deletedb.c File Reference

DBMI Library (driver) - delete database. More...

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

Go to the source code of this file.

Functions

int db_d_delete_database (void)
 Delete database. More...
 

Detailed Description

DBMI Library (driver) - delete database.

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

Function Documentation

int db_d_delete_database ( void  )

Delete database.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_deletedb.c.

References db_driver_delete_database, db_free_handle(), db_init_handle(), DB_OK, DB_RECV_HANDLE, DB_SEND_FAILURE, and DB_SEND_SUCCESS.