GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
procs.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_d_add_column (void)
 Add column to table. More...
 
int db_d_bind_update (void)
 ADD. More...
 
int db_d_close_cursor (void)
 Close cursor. More...
 
int db_d_close_database (void)
 Close database connection. More...
 
int db_d_create_database (void)
 Create database. More...
 
int db_d_create_index (void)
 Create index. More...
 
int db_d_create_table (void)
 Create table. More...
 
int db_d_delete_database (void)
 Delete database. More...
 
int db_d_describe_table (void)
 Describe table. More...
 
int db_d_drop_column (void)
 Drop column. More...
 
int db_d_drop_index (void)
 Drop index. More...
 
int db_d_drop_table (void)
 Drop table. More...
 
int db_d_execute_immediate (void)
 Execute SQL statements. More...
 
int db_d_begin_transaction (void)
 Begin transaction. More...
 
int db_d_commit_transaction (void)
 Commit transaction. More...
 
int db_d_fetch (void)
 Fetch data. More...
 
int db_d_get_num_rows (void)
 Get number of selected rows. More...
 
int db_d_find_database (void)
 Find database. More...
 
int db_d_grant_on_table (void)
 Grant privileges on table. More...
 
int db_d_insert (void)
 Insert new record into table. More...
 
int db_d_delete (void)
 Delete record (?) More...
 
int db_d_list_databases (void)
 List databases. More...
 
int db_d_list_indexes (void)
 List indexes. More...
 
int db_d_list_tables (void)
 List available tables for given connection. More...
 
int db_d_open_database (void)
 Open database connection. More...
 
int db_d_open_insert_cursor (void)
 Open insert cursor. More...
 
int db_d_open_select_cursor (void)
 Open select cursor. More...
 
int db_d_open_update_cursor (void)
 Open update cursor. More...
 
int db_d_update (void)
 ? More...
 
int db_d_version (void)
 Get version info. More...
 

Function Documentation

◆ db_d_add_column()

int db_d_add_column ( void  )

Add column to table.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_add_col.c.

◆ db_d_begin_transaction()

int db_d_begin_transaction ( void  )

Begin transaction.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 56 of file d_execute.c.

◆ db_d_bind_update()

int db_d_bind_update ( void  )

ADD.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 25 of file d_bindupdate.c.

◆ db_d_close_cursor()

int db_d_close_cursor ( void  )

Close cursor.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_close_cur.c.

◆ db_d_close_database()

int db_d_close_database ( void  )

Close database connection.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 25 of file d_closedb.c.

◆ db_d_commit_transaction()

int db_d_commit_transaction ( void  )

Commit transaction.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 80 of file d_execute.c.

◆ db_d_create_database()

int db_d_create_database ( void  )

Create database.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_createdb.c.

◆ db_d_create_index()

int db_d_create_index ( void  )

Create index.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_create_idx.c.

◆ db_d_create_table()

int db_d_create_table ( void  )

Create table.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_create_tab.c.

◆ db_d_delete()

int db_d_delete ( void  )

Delete record (?)

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 25 of file d_delete.c.

◆ db_d_delete_database()

int db_d_delete_database ( void  )

Delete database.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_deletedb.c.

◆ db_d_describe_table()

int db_d_describe_table ( void  )

Describe table.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_desc_table.c.

◆ db_d_drop_column()

int db_d_drop_column ( void  )

Drop column.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_drop_col.c.

◆ db_d_drop_index()

int db_d_drop_index ( void  )

Drop index.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_drop_index.c.

◆ db_d_drop_table()

int db_d_drop_table ( void  )

Drop table.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_drop_tab.c.

◆ db_d_execute_immediate()

int db_d_execute_immediate ( void  )

Execute SQL statements.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_execute.c.

◆ db_d_fetch()

int db_d_fetch ( void  )

Fetch data.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 27 of file d_fetch.c.

◆ db_d_find_database()

int db_d_find_database ( void  )

Find database.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_finddb.c.

◆ db_d_get_num_rows()

int db_d_get_num_rows ( void  )

Get number of selected rows.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 25 of file d_rows.c.

◆ db_d_grant_on_table()

int db_d_grant_on_table ( void  )

Grant privileges on table.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_priv.c.

◆ db_d_insert()

int db_d_insert ( void  )

Insert new record into table.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 25 of file d_insert.c.

◆ db_d_list_databases()

int db_d_list_databases ( void  )

List databases.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_listdb.c.

◆ db_d_list_indexes()

int db_d_list_indexes ( void  )

List indexes.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_list_idx.c.

◆ db_d_list_tables()

int db_d_list_tables ( void  )

List available tables for given connection.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 25 of file d_list_tabs.c.

◆ db_d_open_database()

int db_d_open_database ( void  )

Open database connection.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_opendb.c.

◆ db_d_open_insert_cursor()

int db_d_open_insert_cursor ( void  )

Open insert cursor.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 25 of file d_openinsert.c.

◆ db_d_open_select_cursor()

int db_d_open_select_cursor ( void  )

Open select cursor.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_openselect.c.

◆ db_d_open_update_cursor()

int db_d_open_update_cursor ( void  )

Open update cursor.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 26 of file d_openupdate.c.

◆ db_d_update()

int db_d_update ( void  )

?

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 25 of file d_update.c.

◆ db_d_version()

int db_d_version ( void  )

Get version info.

Returns
DB_OK on success
DB_FAILED on failure

Definition at line 24 of file d_version.c.

Variable Documentation

◆ procnum

int procnum

Definition at line 33 of file procs.h.

Referenced by db__start_procedure_call(), db_driver(), and db_noproc_error().

◆ routine

int(* routine) (void) ( void  )

Definition at line 34 of file procs.h.