GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Go to the source code of this file.
Data Structures | |
struct | _db_string |
struct | _dbmscap |
struct | _db_dirent |
struct | _db_driver |
struct | _db_handle |
struct | _db_date_time |
struct | _db_value |
struct | _db_column |
struct | _db_table |
struct | _db_cursor |
struct | _db_index |
struct | _db_driver_state |
struct | dbCatValI |
struct | dbCatVal |
struct | dbCatValArray |
struct | _db_connection |
struct | dbRclsRule |
Typedefs | |
typedef void * | dbAddress |
typedef int | dbToken |
typedef struct _db_string | dbString |
typedef struct _dbmscap | dbDbmscap |
typedef struct _db_dirent | dbDirent |
typedef struct _db_driver | dbDriver |
typedef struct _db_handle | dbHandle |
typedef struct _db_date_time | dbDateTime |
typedef struct _db_value | dbValue |
typedef struct _db_column | dbColumn |
typedef struct _db_table | dbTable |
typedef struct _db_cursor | dbCursor |
typedef struct _db_index | dbIndex |
typedef struct _db_driver_state | dbDriverState |
typedef struct _db_connection | dbConnection |
#define DB_C_TYPE_DATETIME 4 |
Definition at line 110 of file dbmi.h.
Referenced by db__recv_value(), db__send_value(), db_CatValArray_free(), db_convert_value_to_string(), and db_sqltype_to_Ctype().
#define DB_C_TYPE_DOUBLE 3 |
Definition at line 109 of file dbmi.h.
Referenced by db__recv_value(), db__send_value(), db_convert_value_to_string(), db_get_value_as_double(), and db_sqltype_to_Ctype().
#define DB_C_TYPE_INT 2 |
Definition at line 108 of file dbmi.h.
Referenced by db__recv_value(), db__send_value(), db_CatValArray_sort_by_value(), db_convert_value_to_string(), db_get_value_as_double(), and db_sqltype_to_Ctype().
#define DB_C_TYPE_STRING 1 |
Definition at line 107 of file dbmi.h.
Referenced by db__recv_value(), db__send_value(), db_CatValArray_free(), db_convert_value_to_string(), db_get_value_as_double(), and db_sqltype_to_Ctype().
#define DB_DATETIME_MASK 0xFF00 |
Definition at line 104 of file dbmi.h.
Referenced by db_sqltype_name(), and db_sqltype_to_Ctype().
#define DB_DAY 0x1000 |
Definition at line 99 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_interval_range(), and db_sqltype_name().
#define DB_DEFAULT_DRIVER "sqlite" |
Definition at line 21 of file dbmi.h.
Referenced by db_set_default_connection().
#define DB_EOF -1 |
Definition at line 76 of file dbmi.h.
Referenced by db__recv_procnum().
#define DB_FAILED 1 |
Definition at line 72 of file dbmi.h.
Referenced by db__driver_add_column(), db__driver_bind_update(), db__driver_close_cursor(), db__driver_close_database(), db__driver_create_database(), db__driver_delete(), db__driver_delete_database(), db__driver_drop_column(), db__driver_drop_index(), db__driver_drop_table(), db__driver_execute_immediate(), db__driver_find_database(), db__driver_insert(), db__driver_list_databases(), db__driver_list_indexes(), db__driver_list_tables(), db__driver_open_database(), db__driver_open_insert_cursor(), db__driver_update(), db__recv_value(), db__send_failure(), db__send_value(), db_append_table_column(), db_close_database_shutdown_driver(), db_convert_value_to_string(), db_d_close_cursor(), db_d_delete(), db_d_insert(), db_d_update(), db_delete_table(), db_get_connection(), db_isdir(), and db_set_table_column().
#define DB_FRACTION 0x0100 |
Definition at line 103 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_interval_range(), and db_sqltype_name().
#define DB_GRANTED 1 |
Definition at line 128 of file dbmi.h.
Referenced by db_set_column_select_priv_granted(), db_set_column_update_priv_granted(), db_set_table_delete_priv_granted(), and db_set_table_insert_priv_granted().
#define DB_HOUR 0x0800 |
Definition at line 100 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_interval_range(), and db_sqltype_name().
#define DB_INSENSITIVE 4 |
Definition at line 125 of file dbmi.h.
Referenced by db_set_cursor_mode_insensitive(), db_test_cursor_mode_insensitive(), and db_unset_cursor_mode_insensitive().
#define DB_INSERT 2 |
Definition at line 121 of file dbmi.h.
Referenced by db_set_cursor_type_insert(), db_test_cursor_type_fetch(), and db_test_cursor_type_insert().
#define DB_MEMORY_ERR -1 |
Definition at line 74 of file dbmi.h.
Referenced by db_enlarge_string().
#define DB_MINUTE 0x0400 |
Definition at line 101 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_interval_range(), and db_sqltype_name().
#define DB_MONTH 0x2000 |
Definition at line 98 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_convert_value_datetime_into_string(), db_interval_range(), and db_sqltype_name().
#define DB_NOT_GRANTED -1 |
Definition at line 129 of file dbmi.h.
Referenced by db_set_column_select_priv_not_granted(), db_set_column_update_priv_not_granted(), db_set_table_delete_priv_not_granted(), and db_set_table_insert_priv_not_granted().
#define DB_OK 0 |
Definition at line 71 of file dbmi.h.
Referenced by db__driver_begin_transaction(), db__driver_commit_transaction(), db__driver_create_index(), db__driver_finish(), db__driver_grant_on_table(), db__driver_init(), db__recv_column_definition(), db__recv_datetime(), db__recv_double_array(), db__recv_float_array(), db__recv_handle(), db__recv_index_array(), db__recv_int(), db__recv_int_array(), db__recv_procnum(), db__recv_short(), db__recv_short_array(), db__recv_string(), db__recv_value(), db__send_column_definition(), db__send_datetime(), db__send_double_array(), db__send_failure(), db__send_float_array(), db__send_handle(), db__send_index(), db__send_index_array(), db__send_int(), db__send_int_array(), db__send_short(), db__send_short_array(), db__send_string(), db__send_success(), db__send_value(), db__start_procedure_call(), db_add_column(), db_append_table_column(), db_begin_transaction(), db_bind_update(), db_CatValArray_alloc(), db_CatValArray_realloc(), db_close_cursor(), db_close_database(), db_close_database_shutdown_driver(), db_commit_transaction(), db_convert_Cstring_to_value_datetime(), db_create_database(), db_create_index(), db_d_add_column(), db_d_begin_transaction(), db_d_close_cursor(), db_d_close_database(), db_d_commit_transaction(), db_d_create_database(), db_d_create_index(), db_d_delete(), db_d_delete_database(), db_d_drop_column(), db_d_drop_index(), db_d_drop_table(), db_d_execute_immediate(), db_d_find_database(), db_d_get_num_rows(), db_d_grant_on_table(), db_d_insert(), db_d_list_indexes(), db_d_list_tables(), db_d_open_database(), db_d_update(), db_d_version(), db_delete(), db_delete_database(), db_delete_table(), db_drop_column(), db_drop_index(), db_drop_table(), db_enlarge_string(), db_execute_immediate(), db_find_database(), db_get_connection(), db_get_num_rows(), db_get_table_number_of_rows(), db_grant_on_table(), db_gversion(), db_insert(), db_isdir(), db_list_indexes(), db_list_tables(), db_open_database(), db_open_insert_cursor(), db_set_connection(), db_set_default_connection(), db_set_handle(), db_set_table_column(), db_start_driver_open_database(), db_update(), P_Create_Aux2_Table(), P_Create_Aux4_Table(), tgis_get_connection(), and tgis_set_connection().
#define DB_PROC_ADD_COLUMN 405 |
Definition at line 57 of file dbmi.h.
Referenced by db_add_column().
#define DB_PROC_BEGIN_TRANSACTION 302 |
Definition at line 50 of file dbmi.h.
Referenced by db_begin_transaction().
#define DB_PROC_BIND_UPDATE 220 |
Definition at line 46 of file dbmi.h.
Referenced by db_bind_update().
#define DB_PROC_CLOSE_CURSOR 201 |
Definition at line 37 of file dbmi.h.
Referenced by db_close_cursor().
#define DB_PROC_CLOSE_DATABASE 101 |
Definition at line 29 of file dbmi.h.
Referenced by db_close_database().
#define DB_PROC_COMMIT_TRANSACTION 303 |
Definition at line 51 of file dbmi.h.
Referenced by db_commit_transaction().
#define DB_PROC_CREATE_DATABASE 102 |
Definition at line 30 of file dbmi.h.
Referenced by db_create_database().
#define DB_PROC_CREATE_INDEX 701 |
Definition at line 61 of file dbmi.h.
Referenced by db_create_index().
#define DB_PROC_DELETE 202 |
Definition at line 38 of file dbmi.h.
Referenced by db_delete().
#define DB_PROC_DELETE_DATABASE 103 |
Definition at line 31 of file dbmi.h.
Referenced by db_delete_database().
#define DB_PROC_DROP_COLUMN 406 |
Definition at line 58 of file dbmi.h.
Referenced by db_drop_column().
#define DB_PROC_DROP_INDEX 703 |
Definition at line 63 of file dbmi.h.
Referenced by db_drop_index().
#define DB_PROC_DROP_TABLE 403 |
Definition at line 55 of file dbmi.h.
Referenced by db_drop_table().
#define DB_PROC_EXECUTE_IMMEDIATE 301 |
Definition at line 49 of file dbmi.h.
Referenced by db_execute_immediate().
#define DB_PROC_FIND_DATABASE 104 |
Definition at line 32 of file dbmi.h.
Referenced by db_find_database().
#define DB_PROC_GRANT_ON_TABLE 407 |
Definition at line 59 of file dbmi.h.
Referenced by db_grant_on_table().
#define DB_PROC_INSERT 204 |
Definition at line 40 of file dbmi.h.
Referenced by db_insert().
#define DB_PROC_LIST_INDEXES 702 |
Definition at line 62 of file dbmi.h.
Referenced by db_list_indexes().
#define DB_PROC_LIST_TABLES 404 |
Definition at line 56 of file dbmi.h.
Referenced by db_list_tables().
#define DB_PROC_OPEN_DATABASE 106 |
Definition at line 34 of file dbmi.h.
Referenced by db_open_database().
#define DB_PROC_OPEN_INSERT_CURSOR 205 |
Definition at line 41 of file dbmi.h.
Referenced by db_open_insert_cursor().
#define DB_PROC_ROWS 209 |
Definition at line 45 of file dbmi.h.
Referenced by db_get_num_rows().
#define DB_PROC_SHUTDOWN_DRIVER 107 |
Definition at line 35 of file dbmi.h.
Referenced by db_shutdown_driver().
#define DB_PROC_UPDATE 208 |
Definition at line 44 of file dbmi.h.
Referenced by db_update().
#define DB_PROC_VERSION 999 |
Definition at line 27 of file dbmi.h.
Referenced by db_gversion().
#define DB_PROTOCOL_ERR -2 |
Definition at line 75 of file dbmi.h.
Referenced by db__recv_int(), db__recv_short(), db__send_double_array(), db__send_float_array(), db__send_int(), db__send_int_array(), db__send_short_array(), and db__start_procedure_call().
#define DB_READONLY 1 |
Definition at line 120 of file dbmi.h.
Referenced by db_set_cursor_type_readonly(), and db_test_cursor_type_fetch().
#define DB_SCROLL 1 |
Definition at line 124 of file dbmi.h.
Referenced by db_set_cursor_mode_scroll(), db_test_cursor_mode_scroll(), and db_unset_cursor_mode_scroll().
#define DB_SECOND 0x0200 |
Definition at line 102 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_interval_range(), and db_sqltype_name().
#define DB_SEQUENTIAL 0 |
Definition at line 123 of file dbmi.h.
Referenced by db_get_table_number_of_rows().
#define DB_SQL_MAX 8192 |
Definition at line 142 of file dbmi.h.
Referenced by V1_close_pg(), V1_delete_line_pg(), V1_open_new_pg(), V1_open_old_pg(), V2_open_old_pg(), Vect__clean_grass_db_topo(), Vect__close_cursor_pg(), Vect__define_topo_relation(), Vect__load_map_lines_pg(), Vect__load_map_nodes_pg(), Vect__load_plus_head(), Vect__open_cursor_next_line_pg(), Vect_get_finfo_geometry_type(), and Vect_sfa_get_num_features().
#define DB_SQL_TYPE_CHARACTER 1 |
Definition at line 81 of file dbmi.h.
Referenced by db_sqltype_name().
#define DB_SQL_TYPE_DATE 9 |
Definition at line 88 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_interval_range(), db_sqltype_name(), and db_sqltype_to_Ctype().
#define DB_SQL_TYPE_DECIMAL 7 |
Definition at line 86 of file dbmi.h.
Referenced by db_sqltype_name().
#define DB_SQL_TYPE_DOUBLE_PRECISION 6 |
Definition at line 85 of file dbmi.h.
Referenced by db_sqltype_name(), db_sqltype_to_Ctype(), and P_Create_Aux4_Table().
#define DB_SQL_TYPE_INTEGER 3 |
Definition at line 83 of file dbmi.h.
Referenced by db_sqltype_name(), db_sqltype_to_Ctype(), P_Create_Aux2_Table(), and P_Create_Aux4_Table().
#define DB_SQL_TYPE_INTERVAL 12 |
Definition at line 91 of file dbmi.h.
Referenced by db_sqltype_name(), and db_sqltype_to_Ctype().
#define DB_SQL_TYPE_NUMERIC 8 |
Definition at line 87 of file dbmi.h.
Referenced by db_sqltype_name().
#define DB_SQL_TYPE_REAL 4 |
Definition at line 84 of file dbmi.h.
Referenced by db_sqltype_name(), db_sqltype_to_Ctype(), P_Create_Aux2_Table(), and P_Create_Aux4_Table().
#define DB_SQL_TYPE_SERIAL 21 |
Definition at line 94 of file dbmi.h.
Referenced by db_sqltype_name(), and db_sqltype_to_Ctype().
#define DB_SQL_TYPE_SMALLINT 2 |
Definition at line 82 of file dbmi.h.
Referenced by db_sqltype_name(), and db_sqltype_to_Ctype().
#define DB_SQL_TYPE_TEXT 13 /* length not defined */ |
Definition at line 92 of file dbmi.h.
Referenced by db_sqltype_name().
#define DB_SQL_TYPE_TIME 10 |
Definition at line 89 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_interval_range(), db_sqltype_name(), and db_sqltype_to_Ctype().
#define DB_SQL_TYPE_TIMESTAMP 11 |
Definition at line 90 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_sqltype_name(), and db_sqltype_to_Ctype().
#define DB_UPDATE 3 |
Definition at line 122 of file dbmi.h.
Referenced by db_set_cursor_type_update(), db_test_cursor_type_fetch(), and db_test_cursor_type_update().
#define DB_VERSION "0" |
Definition at line 18 of file dbmi.h.
Referenced by db_d_version(), and db_gversion().
#define DB_YEAR 0x4000 |
Definition at line 97 of file dbmi.h.
Referenced by db_convert_Cstring_to_value_datetime(), db_convert_value_datetime_into_string(), db_interval_range(), and db_sqltype_name().
typedef struct _db_column dbColumn |
typedef struct _db_connection dbConnection |
typedef struct _db_cursor dbCursor |
typedef struct _db_date_time dbDateTime |
typedef struct _db_dirent dbDirent |
typedef struct _db_driver dbDriver |
typedef struct _db_driver_state dbDriverState |
typedef struct _db_handle dbHandle |
typedef struct _db_string dbString |