driver_state.c File Reference

#include <stdlib.h>
#include <grass/dbmi.h>
#include "dbstubs.h"

Include dependency graph for driver_state.c:

Go to the source code of this file.

Functions

void db__init_driver_state (void)
dbDriverState * db__get_driver_state (void)
int db__test_database_open (void)
void db__mark_database_open (char *dbname, char *dbschema)
void db__mark_database_closed (void)
void db__add_cursor_to_driver_state (dbCursor *cursor)
void db__drop_cursor_from_driver_state (dbCursor *cursor)
void db__close_all_cursors (void)


Function Documentation

void db__add_cursor_to_driver_state ( dbCursor *  cursor  ) 

void db__close_all_cursors ( void   ) 

Definition at line 88 of file driver_state.c.

References db_driver_close_cursor.

Referenced by db_d_close_database().

void db__drop_cursor_from_driver_state ( dbCursor *  cursor  ) 

Definition at line 77 of file driver_state.c.

Referenced by db_d_close_cursor().

dbDriverState* db__get_driver_state ( void   ) 

Definition at line 17 of file driver_state.c.

void db__init_driver_state ( void   ) 

Definition at line 10 of file driver_state.c.

References db_zero().

Referenced by db_d_close_database(), and db_driver().

void db__mark_database_closed ( void   ) 

Definition at line 40 of file driver_state.c.

Referenced by db_d_close_database().

void db__mark_database_open ( char *  dbname,
char *  dbschema 
)

Definition at line 31 of file driver_state.c.

Referenced by db_d_open_database().

int db__test_database_open ( void   ) 

Definition at line 24 of file driver_state.c.

Referenced by db_d_close_database(), and db_d_open_database().


Generated on Sun Apr 6 17:31:51 2008 for GRASS by  doxygen 1.5.5