GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73679
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 };
int db_d_create_table(void)
Create table.
Definition: d_create_tab.c:26
#define DB_PROC_OPEN_DATABASE
Definition: dbmi.h:34
int db_d_insert(void)
Insert new record into table.
Definition: d_insert.c:25
int db_d_close_cursor(void)
Close cursor.
Definition: d_close_cur.c:26
#define DB_PROC_OPEN_UPDATE_CURSOR
Definition: dbmi.h:43
#define DB_PROC_DESCRIBE_TABLE
Definition: dbmi.h:54
int db_d_open_database(void)
Open database connection.
Definition: d_opendb.c:26
int db_d_open_insert_cursor(void)
Open insert cursor.
Definition: d_openinsert.c:25
int db_d_create_database(void)
Create database.
Definition: d_createdb.c:26
#define DB_PROC_DROP_INDEX
Definition: dbmi.h:63
int db_d_add_column(void)
Add column to table.
Definition: d_add_col.c:26
int db_d_grant_on_table(void)
Grant privileges on table.
Definition: d_priv.c:26
#define DB_PROC_COMMIT_TRANSACTION
Definition: dbmi.h:51
#define DB_PROC_GRANT_ON_TABLE
Definition: dbmi.h:59
#define DB_PROC_EXECUTE_IMMEDIATE
Definition: dbmi.h:49
int db_d_bind_update()
ADD.
Definition: d_bindupdate.c:25
#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
#define NULL
Definition: ccmath.h:32
int db_d_drop_index(void)
Drop index.
Definition: d_drop_index.c:26
int db_d_get_num_rows(void)
Get number of selected rows.
Definition: d_rows.c:25
#define DB_PROC_LIST_TABLES
Definition: dbmi.h:56
int(* routine)()
Definition: procs.h:35
#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
int db_d_list_indexes(void)
List indexes.
Definition: d_list_idx.c:26
#define DB_PROC_INSERT
Definition: dbmi.h:40
int db_d_commit_transaction()
Commit transaction.
Definition: d_execute.c:80
#define DB_PROC_CREATE_TABLE
Definition: dbmi.h:53
int db_d_open_update_cursor(void)
Open update cursor.
Definition: d_openupdate.c:26
#define DB_PROC_VERSION
Definition: dbmi.h:27
int db_d_begin_transaction(void)
Begin transaction.
Definition: d_execute.c:56
int db_d_update(void)
?
Definition: d_update.c:25
#define DB_PROC_DELETE
Definition: dbmi.h:38
#define DB_PROC_ADD_COLUMN
Definition: dbmi.h:57
int db_d_version(void)
Get version info.
Definition: d_version.c:24
#define DB_PROC_FIND_DATABASE
Definition: dbmi.h:32
int db_d_find_database(void)
Find database.
Definition: d_finddb.c:26
int db_d_list_databases(void)
List databases.
Definition: d_listdb.c:26
#define DB_PROC_LIST_INDEXES
Definition: dbmi.h:62
int db_d_drop_table(void)
Drop table.
Definition: d_drop_tab.c:26
int db_d_drop_column(void)
Drop column.
Definition: d_drop_col.c:26
int db_d_delete_database(void)
Delete database.
Definition: d_deletedb.c:26
#define DB_PROC_UPDATE
Definition: dbmi.h:44
#define DB_PROC_CLOSE_CURSOR
Definition: dbmi.h:37
int db_d_delete(void)
Delete record (?)
Definition: d_delete.c:25
#define DB_PROC_ROWS
Definition: dbmi.h:45
int
Reads the categories file for map name in mapset and stores the categories in the pcats structure...
#define DB_PROC_OPEN_INSERT_CURSOR
Definition: dbmi.h:41
int db_d_execute_immediate(void)
Execute SQL statements.
Definition: d_execute.c:26
#define DB_PROC_LIST_DATABASES
Definition: dbmi.h:33
int db_d_describe_table(void)
Describe table.
Definition: d_desc_table.c:26
int db_d_open_select_cursor(void)
Open select cursor.
Definition: d_openselect.c:26
#define DB_PROC_CREATE_INDEX
Definition: dbmi.h:61
int db_d_close_database(void)
Close database connection.
Definition: d_closedb.c:25
int procnum
Definition: procs.h:34
#define DB_PROC_BEGIN_TRANSACTION
Definition: dbmi.h:50
int db_d_list_tables(void)
List available tables for given connection.
Definition: d_list_tabs.c:25
int db_d_create_index(void)
Create index.
Definition: d_create_idx.c:26
int db_d_fetch(void)
Fetch data.
Definition: d_fetch.c:28
#define DB_PROC_DROP_COLUMN
Definition: dbmi.h:58