GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-602118adcc
dbstubs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int db__driver_add_column (dbString *, dbColumn *)
 
int db__driver_bind_update (dbCursor *)
 
int db__driver_close_cursor (dbCursor *)
 
int db__driver_close_database (void)
 
int db__driver_create_index (dbIndex *)
 
int db__driver_create_table (dbTable *)
 
int db__driver_create_database (dbHandle *)
 
int db__driver_delete (dbCursor *)
 
int db__driver_delete_database (dbHandle *)
 
int db__driver_describe_table (dbString *, dbTable **)
 
int db__driver_drop_column (dbString *, dbString *)
 
int db__driver_drop_index (dbString *)
 
int db__driver_drop_table (dbString *)
 
int db__driver_execute_immediate (dbString *)
 
int db__driver_fetch (dbCursor *, int, int *)
 
int db__driver_find_database (dbHandle *, int *)
 
int db__driver_finish (void)
 
int db__driver_init (int, char **)
 
int db__driver_insert (dbCursor *)
 
int db__driver_list_indexes (dbString *, dbIndex **, int *)
 
int db__driver_list_tables (dbString **, int *, int)
 
int db__driver_list_databases (dbString *, int, dbHandle **, int *)
 
int db__driver_open_insert_cursor (dbCursor *)
 
int db__driver_open_select_cursor (dbString *, dbCursor *, int)
 
int db__driver_open_update_cursor (dbString *, dbString *, dbCursor *, int)
 
int db__driver_open_database (dbHandle *)
 
int db__driver_grant_on_table (dbString *, int, int)
 
int db__driver_get_num_rows (dbCursor *)
 
int db__driver_begin_transaction (void)
 
int db__driver_commit_transaction (void)
 
int db__driver_update (dbCursor *)
 

Variables

int(* db_driver_add_column )(dbString *, dbColumn *)
 
int(* db_driver_bind_update )(dbCursor *)
 
int(* db_driver_close_cursor )(dbCursor *)
 
int(* db_driver_close_database )(void)
 
int(* db_driver_create_index )(dbIndex *)
 
int(* db_driver_create_table )(dbTable *)
 
int(* db_driver_create_database )(dbHandle *)
 
int(* db_driver_delete )(dbCursor *)
 
int(* db_driver_delete_database )(dbHandle *)
 
int(* db_driver_describe_table )(dbString *, dbTable **)
 
int(* db_driver_drop_column )(dbString *, dbString *)
 
int(* db_driver_drop_index )(dbString *)
 
int(* db_driver_drop_table )(dbString *)
 
int(* db_driver_execute_immediate )(dbString *)
 
int(* db_driver_fetch )(dbCursor *, int, int *)
 
int(* db_driver_find_database )(dbHandle *, int *)
 
int(* db_driver_finish )(void)
 
int(* db_driver_init )(int, char **)
 
int(* db_driver_insert )(dbCursor *)
 
int(* db_driver_list_indexes )(dbString *, dbIndex **, int *)
 
int(* db_driver_list_tables )(dbString **, int *, int)
 
int(* db_driver_list_databases )(dbString *, int, dbHandle **, int *)
 
int(* db_driver_open_insert_cursor )(dbCursor *)
 
int(* db_driver_open_select_cursor )(dbString *, dbCursor *, int)
 
int(* db_driver_open_update_cursor )(dbString *, dbString *, dbCursor *, int)
 
int(* db_driver_open_database )(dbHandle *)
 
int(* db_driver_grant_on_table )(dbString *, int, int)
 
int(* db_driver_get_num_rows )(dbCursor *)
 
int(* db_driver_begin_transaction )(void)
 
int(* db_driver_commit_transaction )(void)
 
int(* db_driver_update )(dbCursor *)
 

Function Documentation

◆ db__driver_add_column()

int db__driver_add_column ( dbString ,
dbColumn  
)

◆ db__driver_begin_transaction()

int db__driver_begin_transaction ( void  )

Definition at line 5 of file transaction.c.

References DB_OK, and G_debug().

◆ db__driver_bind_update()

int db__driver_bind_update ( dbCursor )

◆ db__driver_close_cursor()

int db__driver_close_cursor ( dbCursor )

◆ db__driver_close_database()

int db__driver_close_database ( void  )

Definition at line 4 of file closedb.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_commit_transaction()

int db__driver_commit_transaction ( void  )

Definition at line 12 of file transaction.c.

References DB_OK, and G_debug().

◆ db__driver_create_database()

int db__driver_create_database ( dbHandle )

◆ db__driver_create_index()

int db__driver_create_index ( dbIndex )

◆ db__driver_create_table()

int db__driver_create_table ( dbTable )

◆ db__driver_delete()

int db__driver_delete ( dbCursor )

◆ db__driver_delete_database()

int db__driver_delete_database ( dbHandle )

◆ db__driver_describe_table()

int db__driver_describe_table ( dbString ,
dbTable **   
)

◆ db__driver_drop_column()

int db__driver_drop_column ( dbString ,
dbString  
)

◆ db__driver_drop_index()

int db__driver_drop_index ( dbString )

◆ db__driver_drop_table()

int db__driver_drop_table ( dbString )

◆ db__driver_execute_immediate()

int db__driver_execute_immediate ( dbString )

◆ db__driver_fetch()

int db__driver_fetch ( dbCursor ,
int  ,
int *   
)

◆ db__driver_find_database()

int db__driver_find_database ( dbHandle ,
int *   
)

◆ db__driver_finish()

int db__driver_finish ( void  )

Definition at line 4 of file finish.c.

References DB_OK.

◆ db__driver_get_num_rows()

int db__driver_get_num_rows ( dbCursor )

◆ db__driver_grant_on_table()

int db__driver_grant_on_table ( dbString ,
int  ,
int   
)

◆ db__driver_init()

int db__driver_init ( int  ,
char **   
)

◆ db__driver_insert()

int db__driver_insert ( dbCursor )

◆ db__driver_list_databases()

int db__driver_list_databases ( dbString ,
int  ,
dbHandle **  ,
int *   
)

◆ db__driver_list_indexes()

int db__driver_list_indexes ( dbString ,
dbIndex **  ,
int *   
)

◆ db__driver_list_tables()

int db__driver_list_tables ( dbString **  ,
int *  ,
int   
)

◆ db__driver_open_database()

int db__driver_open_database ( dbHandle )

◆ db__driver_open_insert_cursor()

int db__driver_open_insert_cursor ( dbCursor )

◆ db__driver_open_select_cursor()

int db__driver_open_select_cursor ( dbString ,
dbCursor ,
int   
)

◆ db__driver_open_update_cursor()

int db__driver_open_update_cursor ( dbString ,
dbString ,
dbCursor ,
int   
)

◆ db__driver_update()

int db__driver_update ( dbCursor )

Variable Documentation

◆ db_driver_add_column

int(* db_driver_add_column) (dbString *, dbColumn *) ( dbString ,
dbColumn  
)
extern

Referenced by db_d_add_column().

◆ db_driver_begin_transaction

int(* db_driver_begin_transaction) (void) ( void  )
extern

Referenced by db_d_begin_transaction().

◆ db_driver_bind_update

int(* db_driver_bind_update) (dbCursor *) ( dbCursor )
extern

◆ db_driver_close_cursor

int(* db_driver_close_cursor) (dbCursor *) ( dbCursor )
extern

◆ db_driver_close_database

int(* db_driver_close_database) (void) ( void  )
extern

Referenced by db_d_close_database().

◆ db_driver_commit_transaction

int(* db_driver_commit_transaction) (void) ( void  )
extern

Referenced by db_d_commit_transaction().

◆ db_driver_create_database

int(* db_driver_create_database) (dbHandle *) ( dbHandle )
extern

Referenced by db_d_create_database().

◆ db_driver_create_index

int(* db_driver_create_index) (dbIndex *) ( dbIndex )
extern

Referenced by db_d_create_index().

◆ db_driver_create_table

int(* db_driver_create_table) (dbTable *) ( dbTable )
extern

◆ db_driver_delete

int(* db_driver_delete) (dbCursor *) ( dbCursor )
extern

Referenced by db_d_delete().

◆ db_driver_delete_database

int(* db_driver_delete_database) (dbHandle *) ( dbHandle )
extern

Referenced by db_d_delete_database().

◆ db_driver_describe_table

int(* db_driver_describe_table) (dbString *, dbTable **) ( dbString ,
dbTable **   
)
extern

◆ db_driver_drop_column

int(* db_driver_drop_column) (dbString *, dbString *) ( dbString ,
dbString  
)
extern

Referenced by db_d_drop_column().

◆ db_driver_drop_index

int(* db_driver_drop_index) (dbString *) ( dbString )
extern

Referenced by db_d_drop_index().

◆ db_driver_drop_table

int(* db_driver_drop_table) (dbString *) ( dbString )
extern

Referenced by db_d_drop_table().

◆ db_driver_execute_immediate

int(* db_driver_execute_immediate) (dbString *) ( dbString )
extern

Referenced by db_d_execute_immediate().

◆ db_driver_fetch

int(* db_driver_fetch) (dbCursor *, int, int *) ( dbCursor ,
int  ,
int *   
)
extern

◆ db_driver_find_database

int(* db_driver_find_database) (dbHandle *, int *) ( dbHandle ,
int *   
)
extern

Referenced by db_d_find_database().

◆ db_driver_finish

int(* db_driver_finish) (void) ( void  )
extern

◆ db_driver_get_num_rows

int(* db_driver_get_num_rows) (dbCursor *) ( dbCursor )
extern

Referenced by db_d_get_num_rows().

◆ db_driver_grant_on_table

int(* db_driver_grant_on_table) (dbString *, int, int) ( dbString ,
int  ,
int   
)
extern

Referenced by db_d_grant_on_table().

◆ db_driver_init

int(* db_driver_init) (int, char **) ( int  ,
char **   
)
extern

◆ db_driver_insert

int(* db_driver_insert) (dbCursor *) ( dbCursor )
extern

Referenced by db_d_insert().

◆ db_driver_list_databases

int(* db_driver_list_databases) (dbString *, int, dbHandle **, int *) ( dbString ,
int  ,
dbHandle **  ,
int *   
)
extern

◆ db_driver_list_indexes

int(* db_driver_list_indexes) (dbString *, dbIndex **, int *) ( dbString ,
dbIndex **  ,
int *   
)
extern

Referenced by db_d_list_indexes().

◆ db_driver_list_tables

int(* db_driver_list_tables) (dbString **, int *, int) ( dbString **  ,
int *  ,
int   
)
extern

Referenced by db_d_list_tables().

◆ db_driver_open_database

int(* db_driver_open_database) (dbHandle *) ( dbHandle )
extern

Referenced by db_d_open_database().

◆ db_driver_open_insert_cursor

int(* db_driver_open_insert_cursor) (dbCursor *) ( dbCursor )
extern

◆ db_driver_open_select_cursor

int(* db_driver_open_select_cursor) (dbString *, dbCursor *, int) ( dbString ,
dbCursor ,
int   
)
extern

◆ db_driver_open_update_cursor

int(* db_driver_open_update_cursor) (dbString *, dbString *, dbCursor *, int) ( dbString ,
dbString ,
dbCursor ,
int   
)
extern

◆ db_driver_update

int(* db_driver_update) (dbCursor *) ( dbCursor )
extern

Referenced by db_d_update().