ODBC container. More...
#include <res_odbc.h>

Data Fields | |
| SQLHDBC | con |
| struct timeval | last_used |
| struct { | |
| struct odbc_obj * next | |
| } | list |
| ast_mutex_t | lock |
| struct odbc_class * | parent |
| unsigned int | tx:1 |
| struct odbc_txn_frame * | txf |
| unsigned int | up:1 |
| unsigned int | used:1 |
ODBC container.
Definition at line 46 of file res_odbc.h.
| SQLHDBC con |
ODBC Connection Handle
Definition at line 48 of file res_odbc.h.
Referenced by _ast_odbc_request_obj2(), acf_transaction_write(), ast_odbc_find_table(), ast_odbc_sanity_check(), commit_exec(), config_odbc_prepare(), custom_prepare(), execute_cb(), generic_execute(), generic_prepare(), load_config(), odbc_obj_connect(), odbc_obj_disconnect(), odbc_release_obj2(), rollback_exec(), and update2_prepare().
| struct timeval last_used |
Used by idlecheck to determine if the connection should be renegotiated
Definition at line 50 of file res_odbc.h.
Referenced by _ast_odbc_request_obj2(), ast_odbc_prepare_and_execute(), ast_odbc_smart_execute(), and odbc_obj_connect().
| struct { ... } list |
Definition at line 47 of file res_odbc.h.
Referenced by _ast_odbc_request_obj2(), aoro2_obj_cb(), data_odbc_provider_handler(), handle_cli_odbc_show(), odbc_obj_connect(), odbc_obj_destructor(), and odbc_obj_disconnect().
Definition at line 60 of file res_odbc.h.
| struct odbc_class* parent |
Information about the connection is protected
Definition at line 49 of file res_odbc.h.
Referenced by _ast_odbc_request_obj2(), ast_odbc_backslash_is_escape(), ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), ast_odbc_retrieve_transaction_obj(), ast_odbc_sanity_check(), find_transaction(), odbc_obj_connect(), odbc_obj_destructor(), and odbc_obj_disconnect().
| unsigned int tx |
Should this connection be unshared, regardless of the class setting?
Definition at line 58 of file res_odbc.h.
Referenced by acf_transaction_write(), aoro2_obj_cb(), ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), ast_odbc_sanity_check(), data_odbc_provider_handler(), and find_transaction().
| struct odbc_txn_frame* txf |
Reference back to the transaction frame, if applicable
Definition at line 59 of file res_odbc.h.
Referenced by find_transaction(), odbc_release_obj2(), and release_transaction().
| unsigned int up |
Definition at line 57 of file res_odbc.h.
Referenced by _ast_odbc_request_obj2(), ast_odbc_prepare_and_execute(), ast_odbc_sanity_check(), data_odbc_provider_handler(), handle_cli_odbc_show(), odbc_obj_connect(), and odbc_obj_disconnect().
| unsigned int used |
Is this connection currently in use?
Definition at line 56 of file res_odbc.h.
Referenced by _ast_odbc_request_obj2(), aoro2_obj_cb(), data_odbc_provider_handler(), handle_cli_odbc_show(), and odbc_release_obj2().