/* this file was automatically generated by ../mk_dbdriver_h.sh */
#ifndef DBDRIVER_H
#define	DBDRIVER_H

#include <grass/dbstubs.h>

int db__driver_create_table();
int db__driver_close_cursor();
int db__driver_open_database();
int db__driver_close_database();
int db__driver_describe_table();
int db__driver_init();
int db__driver_finish();
int db__driver_execute_immediate();
int db__driver_begin_transaction();
int db__driver_commit_transaction();
int db__driver_fetch();
int db__driver_get_num_rows();
int db__driver_create_index();
int db__driver_list_tables();
int db__driver_open_select_cursor();

#define	init_dbdriver() do{\
db_driver_create_table = db__driver_create_table;\
db_driver_close_cursor = db__driver_close_cursor;\
db_driver_open_database = db__driver_open_database;\
db_driver_close_database = db__driver_close_database;\
db_driver_describe_table = db__driver_describe_table;\
db_driver_init = db__driver_init;\
db_driver_finish = db__driver_finish;\
db_driver_execute_immediate = db__driver_execute_immediate;\
db_driver_begin_transaction = db__driver_begin_transaction;\
db_driver_commit_transaction = db__driver_commit_transaction;\
db_driver_fetch = db__driver_fetch;\
db_driver_get_num_rows = db__driver_get_num_rows;\
db_driver_create_index = db__driver_create_index;\
db_driver_list_tables = db__driver_list_tables;\
db_driver_open_select_cursor = db__driver_open_select_cursor;\
}while(0)

#endif
