GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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 tableName,
dbColumn column 
)

This function calls db_procedure_not_implemented().

Definition at line 7 of file add_col.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ 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 )

Definition at line 10 of file bindupdate.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_close_cursor()

int db__driver_close_cursor ( dbCursor cursor)

This function calls db_procedure_not_implemented().

Definition at line 8 of file close_cursor.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ 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 )

Definition at line 4 of file createdb.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_create_index()

int db__driver_create_index ( dbIndex )

Definition at line 4 of file create_index.c.

References DB_OK.

◆ db__driver_create_table()

int db__driver_create_table ( dbTable )

Definition at line 4 of file create_table.c.

◆ db__driver_delete()

int db__driver_delete ( dbCursor )

Definition at line 4 of file db/stubs/delete.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_delete_database()

int db__driver_delete_database ( dbHandle )

Definition at line 4 of file deletedb.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_describe_table()

int db__driver_describe_table ( dbString ,
dbTable **   
)

Definition at line 4 of file desc_table.c.

◆ db__driver_drop_column()

int db__driver_drop_column ( dbString ,
dbString  
)

Definition at line 4 of file drop_col.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_drop_index()

int db__driver_drop_index ( dbString )

Definition at line 4 of file drop_index.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_drop_table()

int db__driver_drop_table ( dbString )

Definition at line 4 of file drop_table.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_execute_immediate()

int db__driver_execute_immediate ( dbString )

Definition at line 4 of file execute.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_fetch()

int db__driver_fetch ( dbCursor ,
int  ,
int *   
)

Definition at line 4 of file fetch.c.

◆ db__driver_find_database()

int db__driver_find_database ( dbHandle ,
int *   
)

Definition at line 4 of file finddb.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ 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 )

Definition at line 4 of file rows.c.

References db_procedure_not_implemented().

◆ db__driver_grant_on_table()

int db__driver_grant_on_table ( dbString ,
int  ,
int   
)

Definition at line 4 of file priv.c.

References DB_OK.

◆ db__driver_init()

int db__driver_init ( int  ,
char **   
)

◆ db__driver_insert()

int db__driver_insert ( dbCursor )

Definition at line 4 of file insert.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_list_databases()

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

Definition at line 5 of file listdb.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_list_indexes()

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

Definition at line 5 of file list_index.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_list_tables()

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

Definition at line 4 of file list_tables.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_open_database()

int db__driver_open_database ( dbHandle )

Definition at line 4 of file opendb.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_open_insert_cursor()

int db__driver_open_insert_cursor ( dbCursor )

Definition at line 4 of file open_insert.c.

References DB_FAILED, and db_procedure_not_implemented().

◆ db__driver_open_select_cursor()

int db__driver_open_select_cursor ( dbString ,
dbCursor ,
int   
)

Definition at line 5 of file open_select.c.

◆ db__driver_open_update_cursor()

int db__driver_open_update_cursor ( dbString ,
dbString ,
dbCursor ,
int   
)

Definition at line 5 of file open_update.c.

◆ db__driver_update()

int db__driver_update ( dbCursor )

Definition at line 4 of file db/stubs/update.c.

References DB_FAILED, and db_procedure_not_implemented().

Variable Documentation

◆ db_driver_add_column

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

Referenced by db_d_add_column().

◆ db_driver_begin_transaction

int(* db_driver_begin_transaction) (void)

Referenced by db_d_begin_transaction().

◆ 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)

Referenced by db_d_close_database().

◆ db_driver_commit_transaction

int(* db_driver_commit_transaction) (void)

Referenced by db_d_commit_transaction().

◆ db_driver_create_database

int(* db_driver_create_database) (dbHandle *)

Referenced by db_d_create_database().

◆ db_driver_create_index

int(* db_driver_create_index) (dbIndex *)

Referenced by db_d_create_index().

◆ db_driver_create_table

int(* db_driver_create_table) (dbTable *)

◆ db_driver_delete

int(* db_driver_delete) (dbCursor *)

Referenced by db_d_delete().

◆ db_driver_delete_database

int(* db_driver_delete_database) (dbHandle *)

Referenced by db_d_delete_database().

◆ db_driver_describe_table

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

◆ db_driver_drop_column

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

Referenced by db_d_drop_column().

◆ db_driver_drop_index

int(* db_driver_drop_index) (dbString *)

Referenced by db_d_drop_index().

◆ db_driver_drop_table

int(* db_driver_drop_table) (dbString *)

Referenced by db_d_drop_table().

◆ db_driver_execute_immediate

int(* db_driver_execute_immediate) (dbString *)

Referenced by db_d_execute_immediate().

◆ db_driver_fetch

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

◆ db_driver_find_database

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

Referenced by db_d_find_database().

◆ db_driver_finish

int(* db_driver_finish) (void)

◆ db_driver_get_num_rows

int(* db_driver_get_num_rows) (dbCursor *)

Referenced by db_d_get_num_rows().

◆ db_driver_grant_on_table

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

Referenced by db_d_grant_on_table().

◆ db_driver_init

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

◆ db_driver_insert

int(* db_driver_insert) (dbCursor *)

Referenced by db_d_insert().

◆ 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 *)

Referenced by db_d_list_indexes().

◆ db_driver_list_tables

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

Referenced by db_d_list_tables().

◆ db_driver_open_database

int(* db_driver_open_database) (dbHandle *)

Referenced by db_d_open_database().

◆ 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 *)

Referenced by db_d_update().