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.
| SQLHDBC con |
ODBC Connection Handle
Definition at line 48 of file res_odbc.h.
Referenced by load_config(), generic_prepare(), execute_cb(), generic_execute(), custom_prepare(), update2_prepare(), config_odbc_prepare(), ast_odbc_find_table(), ast_odbc_sanity_check(), odbc_release_obj2(), commit_exec(), rollback_exec(), _ast_odbc_request_obj2(), odbc_obj_disconnect(), odbc_obj_connect(), and acf_transaction_write().
| 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_prepare_and_execute(), ast_odbc_smart_execute(), _ast_odbc_request_obj2(), and odbc_obj_connect().
| struct { ... } list |
Definition at line 47 of file res_odbc.h.
Referenced by odbc_obj_destructor(), handle_cli_odbc_show(), aoro2_obj_cb(), _ast_odbc_request_obj2(), odbc_obj_disconnect(), odbc_obj_connect(), and data_odbc_provider_handler().
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 find_transaction(), odbc_obj_destructor(), ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), ast_odbc_sanity_check(), ast_odbc_backslash_is_escape(), _ast_odbc_request_obj2(), ast_odbc_retrieve_transaction_obj(), odbc_obj_disconnect(), and odbc_obj_connect().
| unsigned int tx |
Should this connection be unshared, regardless of the class setting?
Definition at line 58 of file res_odbc.h.
Referenced by find_transaction(), ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), ast_odbc_sanity_check(), aoro2_obj_cb(), acf_transaction_write(), and data_odbc_provider_handler().
| 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(), release_transaction(), and odbc_release_obj2().
| unsigned int up |
Definition at line 57 of file res_odbc.h.
Referenced by ast_odbc_prepare_and_execute(), ast_odbc_sanity_check(), handle_cli_odbc_show(), _ast_odbc_request_obj2(), odbc_obj_disconnect(), odbc_obj_connect(), and data_odbc_provider_handler().
| unsigned int used |
Is this connection currently in use?
Definition at line 56 of file res_odbc.h.
Referenced by handle_cli_odbc_show(), odbc_release_obj2(), aoro2_obj_cb(), _ast_odbc_request_obj2(), and data_odbc_provider_handler().