GRASS 8 Programmer's Manual 8.6.0dev(2026)-55de52a352
Loading...
Searching...
No Matches
d_closedb.c File Reference

DBMI Library (driver) - close database connection. More...

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

Go to the source code of this file.

Functions

int db_d_close_database (void)
 Close database connection.
 

Detailed Description

DBMI Library (driver) - close database connection.

SPDX-FileCopyrightText: 1999-2008 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

Author
Joel Jones (CERL/UIUC), Radim Blazek

Definition in file d_closedb.c.

Function Documentation

◆ db_d_close_database()

int db_d_close_database ( void  )

Close database connection.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 22 of file d_closedb.c.

References db__close_all_cursors(), db__init_driver_state(), db__mark_database_closed(), db__test_database_open(), db_driver_close_database, db_error(), DB_OK, DB_SEND_FAILURE, and DB_SEND_SUCCESS.