GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
procs.h
Go to the documentation of this file.
1 extern int db_d_add_column();
2 extern int db_d_bind_update();
3 extern int db_d_close_cursor();
4 extern int db_d_close_database();
5 extern int db_d_create_database();
6 extern int db_d_create_index();
7 extern int db_d_create_table();
8 extern int db_d_delete_database();
9 extern int db_d_describe_table();
10 extern int db_d_drop_column();
11 extern int db_d_drop_index();
12 extern int db_d_drop_table();
13 extern int db_d_execute_immediate();
14 extern int db_d_begin_transaction();
15 extern int db_d_commit_transaction();
16 extern int db_d_fetch();
17 extern int db_d_get_num_rows();
18 extern int db_d_find_database();
19 extern int db_d_grant_on_table();
20 extern int db_d_insert();
21 extern int db_d_delete();
22 extern int db_d_list_databases();
23 extern int db_d_list_indexes();
24 extern int db_d_list_tables();
25 extern int db_d_open_database();
26 extern int db_d_open_insert_cursor();
27 extern int db_d_open_select_cursor();
28 extern int db_d_open_update_cursor();
29 extern int db_d_update();
30 extern int db_d_version();
31 
32 static struct
33 {
34  int procnum;
35  int (*routine) ();
36 } procedure[] = {
37  {
68  -1, NULL}
69 };
#define DB_PROC_OPEN_DATABASE
Definition: dbmi.h:34
int db_d_find_database()
Find database.
Definition: d_finddb.c:26
#define DB_PROC_OPEN_UPDATE_CURSOR
Definition: dbmi.h:43
int db_d_describe_table()
Describe table.
Definition: d_desc_table.c:26
#define DB_PROC_DESCRIBE_TABLE
Definition: dbmi.h:54
int db_d_create_database()
Create database.
Definition: d_createdb.c:26
int db_d_version()
Get version info.
Definition: d_version.c:24
#define DB_PROC_DROP_INDEX
Definition: dbmi.h:63
#define DB_PROC_COMMIT_TRANSACTION
Definition: dbmi.h:51
#define DB_PROC_GRANT_ON_TABLE
Definition: dbmi.h:59
int db_d_close_database()
Close database connection.
Definition: d_closedb.c:25
#define DB_PROC_EXECUTE_IMMEDIATE
Definition: dbmi.h:49
int db_d_open_database()
Open database connection.
Definition: d_opendb.c:26
#define DB_PROC_BIND_UPDATE
Definition: dbmi.h:46
#define DB_PROC_DELETE_DATABASE
Definition: dbmi.h:31
#define DB_PROC_DROP_TABLE
Definition: dbmi.h:55
int db_d_drop_column()
Drop column.
Definition: d_drop_col.c:26
int db_d_grant_on_table()
Grant privileges on table.
Definition: d_priv.c:26
int db_d_create_index()
Create index.
Definition: d_create_idx.c:26
int db_d_open_select_cursor()
Open select cursor.
Definition: d_openselect.c:26
#define NULL
Definition: ccmath.h:32
int db_d_fetch()
Fetch data.
Definition: d_fetch.c:28
int db_d_open_update_cursor()
Open update cursor.
Definition: d_openupdate.c:26
int db_d_begin_transaction()
Begin transaction.
Definition: d_execute.c:56
#define DB_PROC_LIST_TABLES
Definition: dbmi.h:56
#define DB_PROC_FETCH
Definition: dbmi.h:39
#define DB_PROC_OPEN_SELECT_CURSOR
Definition: dbmi.h:42
#define DB_PROC_CREATE_DATABASE
Definition: dbmi.h:30
#define DB_PROC_CLOSE_DATABASE
Definition: dbmi.h:29
#define DB_PROC_INSERT
Definition: dbmi.h:40
#define DB_PROC_CREATE_TABLE
Definition: dbmi.h:53
#define DB_PROC_VERSION
Definition: dbmi.h:27
int db_d_insert()
Insert new record into table.
Definition: d_insert.c:25
int db_d_close_cursor()
Close cursor.
Definition: d_close_cur.c:26
int db_d_drop_table()
Drop table.
Definition: d_drop_tab.c:26
int db_d_drop_index()
Drop index.
Definition: d_drop_index.c:26
#define DB_PROC_DELETE
Definition: dbmi.h:38
int db_d_create_table()
Create table.
Definition: d_create_tab.c:26
#define DB_PROC_ADD_COLUMN
Definition: dbmi.h:57
#define DB_PROC_FIND_DATABASE
Definition: dbmi.h:32
int db_d_list_indexes()
List indexes.
Definition: d_list_idx.c:26
int db_d_add_column()
Add column to table.
Definition: d_add_col.c:26
#define DB_PROC_LIST_INDEXES
Definition: dbmi.h:62
int db_d_list_databases()
List databases.
Definition: d_listdb.c:26
int db_d_update()
?
Definition: d_update.c:25
int(* routine)()
Definition: procs.h:35
int db_d_delete()
Delete record (?)
Definition: d_delete.c:25
#define DB_PROC_UPDATE
Definition: dbmi.h:44
int db_d_get_num_rows()
Get number of selected rows.
Definition: d_rows.c:25
int db_d_commit_transaction()
Commit transaction.
Definition: d_execute.c:80
int db_d_bind_update()
ADD.
Definition: d_bindupdate.c:25
#define DB_PROC_CLOSE_CURSOR
Definition: dbmi.h:37
#define DB_PROC_ROWS
Definition: dbmi.h:45
int db_d_list_tables()
List available tables for given connection.
Definition: d_list_tabs.c:25
#define DB_PROC_OPEN_INSERT_CURSOR
Definition: dbmi.h:41
#define DB_PROC_LIST_DATABASES
Definition: dbmi.h:33
#define DB_PROC_CREATE_INDEX
Definition: dbmi.h:61
int procnum
Definition: procs.h:34
#define DB_PROC_BEGIN_TRANSACTION
Definition: dbmi.h:50
int db_d_execute_immediate()
Execute SQL statements.
Definition: d_execute.c:26
#define DB_PROC_DROP_COLUMN
Definition: dbmi.h:58
int db_d_delete_database()
Delete database.
Definition: d_deletedb.c:26
int db_d_open_insert_cursor()
Open insert cursor.
Definition: d_openinsert.c:25