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

DBMI Library (driver) - close cursor. More...

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

Go to the source code of this file.


int db_d_close_cursor (void)
 Close cursor. More...

Detailed Description

DBMI Library (driver) - close cursor.

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

Joel Jones (CERL/UIUC), Radim Blazek

Definition in file d_close_cur.c.

Function Documentation

int db_d_close_cursor ( void  )

Close cursor.

DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_close_cur.c.

References db__drop_cursor_from_driver_state(), db_driver_close_cursor, db_drop_token(), db_error(), db_find_token(), db_free(), db_free_cursor(), DB_RECV_TOKEN, DB_SEND_FAILURE, DB_SEND_SUCCESS, NULL, and stat.