macros.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DB_RETURN_ERR   return(db_get_error_code());
#define DB_START_PROCEDURE_CALL(x)   {if(db__start_procedure_call(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_RETURN_CODE(x)   {if(db__recv_return_code(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_SUCCESS()   {if(db__send_success()!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_FAILURE()   {if(db__send_failure()!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_STRING(x)   {if(db__send_string(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_STRING_ARRAY(x, n)   {if(db__send_string_array(x,n)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_C_STRING(x)   {if(db__send_Cstring(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_STRING(x)   {if(db__recv_string(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_STRING_ARRAY(x, n)   {if(db__recv_string_array(x,n)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_CHAR(x)   {if(db__send_char(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_CHAR(x)   {if(db__recv_char(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_SHORT(x)   {if(db__send_short(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_SHORT(x)   {if(db__recv_short(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_SHORT_ARRAY(x, n)   {if(db__send_short_array(x,n)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_SHORT_ARRAY(x, n)   {if(db__recv_short_array(x,n)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_INT(x)   {if(db__send_int(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_INT(x)   {if(db__recv_int(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_FLOAT(x)   {if(db__send_float(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_FLOAT(x)   {if(db__recv_float(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_DOUBLE(x)   {if(db__send_double(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_DOUBLE(x)   {if(db__recv_double(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_DATETIME(x)   {if(db__send_datetime(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_DATETIME(x)   {if(db__recv_datetime(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_HANDLE(x)   {if(db__send_handle(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_HANDLE(x)   {if(db__recv_handle(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_TABLE_DEFINITION(x)   {if(db__send_table_definition(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_TABLE_DEFINITION(x)   {if(db__recv_table_definition(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_TABLE_DATA(x)   {if(db__send_table_data(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_TABLE_DATA(x)   {if(db__recv_table_data(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_TABLE_PRIV(x)   {if(db__send_table_priv(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_TABLE_PRIV(x)   {if(db__recv_table_priv(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_COLUMN_PRIVS(x)   {if(db__send_column_privs(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_COLUMN_PRIVS(x)   {if(db__recv_column_privs(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_COLUMN_DEFINITION(x)   {if(db__send_column_definition(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_COLUMN_DEFINITION(x)   {if(db__recv_column_definition(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_COLUMN_VALUE(x)   {if(db__send_column_value(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_COLUMN_VALUE(x)   {if(db__recv_column_value(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_COLUMN_DEFAULT_VALUE(x)   {if(db__send_column_default_value(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_COLUMN_DEFAULT_VALUE(x)   {if(db__recv_column_default_value(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_TOKEN(x)   {if(db__send_token(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_TOKEN(x)   {if(db__recv_token(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_INDEX(x)   {if(db__send_index(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_INDEX_ARRAY(x, n)   {if(db__send_index_array(x,n)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_INDEX(x)   {if(db__recv_index(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_INDEX_ARRAY(x, n)   {if(db__recv_index_array(x,n)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_FK(x)   {if(db__send_fk(x)!=DB_OK) DB_RETURN_ERR}
#define DB_SEND_FK_ARRAY(x, n)   {if(db__send_fk_array(x,n)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_FK(x)   {if(db__recv_fk(x)!=DB_OK) DB_RETURN_ERR}
#define DB_RECV_FK_ARRAY(x, n)   {if(db__recv_fk_array(x,n)!=DB_OK) DB_RETURN_ERR}


Define Documentation

#define DB_RECV_CHAR (  )     {if(db__recv_char(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 25 of file macros.h.

Referenced by db__recv_column_definition(), db__recv_datetime(), db__recv_index(), and db__recv_value().

#define DB_RECV_COLUMN_DEFAULT_VALUE (  )     {if(db__recv_column_default_value(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 94 of file macros.h.

Referenced by db__recv_column_definition().

#define DB_RECV_COLUMN_DEFINITION (  )     {if(db__recv_column_definition(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 84 of file macros.h.

Referenced by db__recv_table_definition(), and db_d_add_column().

#define DB_RECV_COLUMN_PRIVS (  )     {if(db__recv_column_privs(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 79 of file macros.h.

#define DB_RECV_COLUMN_VALUE (  )     {if(db__recv_column_value(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 89 of file macros.h.

Referenced by db__recv_table_data().

#define DB_RECV_DATETIME (  )     {if(db__recv_datetime(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 54 of file macros.h.

Referenced by db__recv_value().

#define DB_RECV_DOUBLE (  )     {if(db__recv_double(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 49 of file macros.h.

Referenced by db__recv_datetime(), and db__recv_value().

#define DB_RECV_FK (  )     {if(db__recv_fk(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 115 of file macros.h.

#define DB_RECV_FK_ARRAY ( x,
 )     {if(db__recv_fk_array(x,n)!=DB_OK) DB_RETURN_ERR}

Definition at line 117 of file macros.h.

#define DB_RECV_FLOAT (  )     {if(db__recv_float(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 44 of file macros.h.

#define DB_RECV_HANDLE (  )     {if(db__recv_handle(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 59 of file macros.h.

Referenced by db_d_create_database(), db_d_delete_database(), db_d_find_database(), db_d_open_database(), db_find_database(), and db_list_databases().

#define DB_RECV_INDEX (  )     {if(db__recv_index(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 106 of file macros.h.

Referenced by db__recv_index_array(), and db_d_create_index().

#define DB_RECV_INDEX_ARRAY ( x,
 )     {if(db__recv_index_array(x,n)!=DB_OK) DB_RETURN_ERR}

Definition at line 108 of file macros.h.

Referenced by db_list_indexes().

#define DB_RECV_INT (  )     {if(db__recv_int(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 39 of file macros.h.

Referenced by db__recv_column_definition(), db__recv_datetime(), db__recv_index(), db__recv_index_array(), db__recv_return_code(), db__recv_table_data(), db__recv_table_definition(), db__recv_value(), db__start_procedure_call(), db_d_fetch(), db_d_grant_on_table(), db_d_list_tables(), db_d_open_select_cursor(), db_d_open_update_cursor(), db_fetch(), db_find_database(), db_get_num_rows(), db_list_databases(), db_open_insert_cursor(), db_open_select_cursor(), and db_open_update_cursor().

#define DB_RECV_RETURN_CODE (  )     {if(db__recv_return_code(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 4 of file macros.h.

Referenced by db_add_column(), db_begin_transaction(), db_bind_update(), db_close_cursor(), db_close_database(), db_commit_transaction(), db_create_database(), db_create_index(), db_create_table(), db_delete(), db_delete_database(), db_describe_table(), db_drop_column(), db_drop_index(), db_drop_table(), db_execute_immediate(), db_fetch(), db_find_database(), db_get_num_rows(), db_grant_on_table(), db_gversion(), db_insert(), db_list_databases(), db_list_indexes(), db_list_tables(), db_open_database(), db_open_insert_cursor(), db_open_select_cursor(), db_open_update_cursor(), and db_update().

#define DB_RECV_SHORT (  )     {if(db__recv_short(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 30 of file macros.h.

#define DB_RECV_SHORT_ARRAY ( x,
 )     {if(db__recv_short_array(x,n)!=DB_OK) DB_RETURN_ERR}

Definition at line 34 of file macros.h.

Referenced by db_d_bind_update().

#define DB_RECV_STRING (  )     {if(db__recv_string(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 18 of file macros.h.

Referenced by db__recv_column_definition(), db__recv_handle(), db__recv_index(), db__recv_return_code(), db__recv_table_definition(), db__recv_value(), db_create_index(), db_d_add_column(), db_d_describe_table(), db_d_drop_column(), db_d_drop_index(), db_d_drop_table(), db_d_execute_immediate(), db_d_grant_on_table(), db_d_list_indexes(), db_d_open_select_cursor(), db_d_open_update_cursor(), and db_gversion().

#define DB_RECV_STRING_ARRAY ( x,
 )     {if(db__recv_string_array(x,n)!=DB_OK) DB_RETURN_ERR}

Definition at line 20 of file macros.h.

Referenced by db_d_list_databases(), and db_list_tables().

#define DB_RECV_TABLE_DATA (  )     {if(db__recv_table_data(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 69 of file macros.h.

Referenced by db_d_insert(), db_d_update(), and db_fetch().

#define DB_RECV_TABLE_DEFINITION (  )     {if(db__recv_table_definition(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 64 of file macros.h.

Referenced by db_d_create_table(), db_d_open_insert_cursor(), db_describe_table(), db_open_select_cursor(), and db_open_update_cursor().

#define DB_RECV_TABLE_PRIV (  )     {if(db__recv_table_priv(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 74 of file macros.h.

#define DB_RECV_TOKEN (  )     {if(db__recv_token(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 99 of file macros.h.

Referenced by db_d_bind_update(), db_d_close_cursor(), db_d_delete(), db_d_fetch(), db_d_get_num_rows(), db_d_insert(), db_d_update(), db_open_insert_cursor(), db_open_select_cursor(), and db_open_update_cursor().

#define DB_RETURN_ERR   return(db_get_error_code());

Definition at line 1 of file macros.h.

#define DB_SEND_C_STRING (  )     {if(db__send_Cstring(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 16 of file macros.h.

Referenced by db__send_failure(), and db_d_version().

#define DB_SEND_CHAR (  )     {if(db__send_char(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 23 of file macros.h.

Referenced by db__send_column_definition(), db__send_datetime(), db__send_index(), and db__send_value().

#define DB_SEND_COLUMN_DEFAULT_VALUE (  )     {if(db__send_column_default_value(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 92 of file macros.h.

Referenced by db__send_column_definition().

#define DB_SEND_COLUMN_DEFINITION (  )     {if(db__send_column_definition(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 82 of file macros.h.

Referenced by db__send_table_definition(), and db_add_column().

#define DB_SEND_COLUMN_PRIVS (  )     {if(db__send_column_privs(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 77 of file macros.h.

#define DB_SEND_COLUMN_VALUE (  )     {if(db__send_column_value(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 87 of file macros.h.

Referenced by db__send_table_data().

#define DB_SEND_DATETIME (  )     {if(db__send_datetime(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 52 of file macros.h.

Referenced by db__send_value().

#define DB_SEND_DOUBLE (  )     {if(db__send_double(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 47 of file macros.h.

Referenced by db__send_datetime(), and db__send_value().

 
#define DB_SEND_FAILURE (  )     {if(db__send_failure()!=DB_OK) DB_RETURN_ERR}

Definition at line 9 of file macros.h.

Referenced by db_d_add_column(), db_d_begin_transaction(), db_d_bind_update(), db_d_close_cursor(), db_d_close_database(), db_d_commit_transaction(), db_d_create_database(), db_d_create_index(), db_d_create_table(), db_d_delete(), db_d_delete_database(), db_d_describe_table(), db_d_drop_column(), db_d_drop_index(), db_d_drop_table(), db_d_execute_immediate(), db_d_fetch(), db_d_find_database(), db_d_get_num_rows(), db_d_grant_on_table(), db_d_insert(), db_d_list_databases(), db_d_list_indexes(), db_d_list_tables(), db_d_open_database(), db_d_open_insert_cursor(), db_d_open_select_cursor(), db_d_open_update_cursor(), and db_d_update().

#define DB_SEND_FK (  )     {if(db__send_fk(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 111 of file macros.h.

#define DB_SEND_FK_ARRAY ( x,
 )     {if(db__send_fk_array(x,n)!=DB_OK) DB_RETURN_ERR}

Definition at line 113 of file macros.h.

#define DB_SEND_FLOAT (  )     {if(db__send_float(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 42 of file macros.h.

#define DB_SEND_HANDLE (  )     {if(db__send_handle(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 57 of file macros.h.

Referenced by db_create_database(), db_d_find_database(), db_d_list_databases(), db_delete_database(), db_find_database(), and db_open_database().

#define DB_SEND_INDEX (  )     {if(db__send_index(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 102 of file macros.h.

Referenced by db__send_index_array(), and db_create_index().

#define DB_SEND_INDEX_ARRAY ( x,
 )     {if(db__send_index_array(x,n)!=DB_OK) DB_RETURN_ERR}

Definition at line 104 of file macros.h.

Referenced by db_d_list_indexes().

#define DB_SEND_INT (  )     {if(db__send_int(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 37 of file macros.h.

Referenced by db__send_column_definition(), db__send_datetime(), db__send_failure(), db__send_index(), db__send_index_array(), db__send_success(), db__send_table_data(), db__send_table_definition(), db__send_value(), db__start_procedure_call(), db_d_fetch(), db_d_find_database(), db_d_get_num_rows(), db_d_list_databases(), db_d_open_insert_cursor(), db_d_open_select_cursor(), db_d_open_update_cursor(), db_fetch(), db_grant_on_table(), db_list_tables(), db_open_select_cursor(), and db_open_update_cursor().

#define DB_SEND_SHORT (  )     {if(db__send_short(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 28 of file macros.h.

#define DB_SEND_SHORT_ARRAY ( x,
 )     {if(db__send_short_array(x,n)!=DB_OK) DB_RETURN_ERR}

Definition at line 32 of file macros.h.

Referenced by db_bind_update().

#define DB_SEND_STRING (  )     {if(db__send_string(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 12 of file macros.h.

Referenced by db__send_column_definition(), db__send_handle(), db__send_index(), db__send_table_definition(), db__send_value(), db_add_column(), db_d_create_index(), db_describe_table(), db_drop_column(), db_drop_index(), db_drop_table(), db_execute_immediate(), db_grant_on_table(), db_list_indexes(), db_open_select_cursor(), and db_open_update_cursor().

#define DB_SEND_STRING_ARRAY ( x,
 )     {if(db__send_string_array(x,n)!=DB_OK) DB_RETURN_ERR}

Definition at line 14 of file macros.h.

Referenced by db_d_list_tables(), and db_list_databases().

 
#define DB_SEND_SUCCESS (  )     {if(db__send_success()!=DB_OK) DB_RETURN_ERR}

Definition at line 7 of file macros.h.

Referenced by db_d_add_column(), db_d_begin_transaction(), db_d_bind_update(), db_d_close_cursor(), db_d_close_database(), db_d_commit_transaction(), db_d_create_database(), db_d_create_index(), db_d_create_table(), db_d_delete(), db_d_delete_database(), db_d_describe_table(), db_d_drop_column(), db_d_drop_index(), db_d_drop_table(), db_d_execute_immediate(), db_d_fetch(), db_d_find_database(), db_d_get_num_rows(), db_d_grant_on_table(), db_d_insert(), db_d_list_databases(), db_d_list_indexes(), db_d_list_tables(), db_d_open_database(), db_d_open_insert_cursor(), db_d_open_select_cursor(), db_d_open_update_cursor(), db_d_update(), and db_d_version().

#define DB_SEND_TABLE_DATA (  )     {if(db__send_table_data(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 67 of file macros.h.

Referenced by db_d_fetch(), db_insert(), and db_update().

#define DB_SEND_TABLE_DEFINITION (  )     {if(db__send_table_definition(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 62 of file macros.h.

Referenced by db_create_table(), db_d_describe_table(), db_d_open_select_cursor(), db_d_open_update_cursor(), and db_open_insert_cursor().

#define DB_SEND_TABLE_PRIV (  )     {if(db__send_table_priv(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 72 of file macros.h.

#define DB_SEND_TOKEN (  )     {if(db__send_token(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 97 of file macros.h.

Referenced by db_bind_update(), db_close_cursor(), db_d_open_insert_cursor(), db_d_open_select_cursor(), db_d_open_update_cursor(), db_delete(), db_fetch(), db_get_num_rows(), db_insert(), and db_update().

#define DB_START_PROCEDURE_CALL (  )     {if(db__start_procedure_call(x)!=DB_OK) DB_RETURN_ERR}

Definition at line 2 of file macros.h.

Referenced by db_add_column(), db_begin_transaction(), db_bind_update(), db_close_cursor(), db_close_database(), db_commit_transaction(), db_create_database(), db_create_index(), db_create_table(), db_delete(), db_delete_database(), db_describe_table(), db_drop_column(), db_drop_index(), db_drop_table(), db_execute_immediate(), db_fetch(), db_find_database(), db_get_num_rows(), db_grant_on_table(), db_gversion(), db_insert(), db_list_databases(), db_list_indexes(), db_list_tables(), db_open_database(), db_open_insert_cursor(), db_open_select_cursor(), db_open_update_cursor(), db_shutdown_driver(), and db_update().


Generated on Fri Nov 21 11:02:00 2008 for GRASS by  doxygen 1.5.1