RTS API Documentation
1.10.11
|
Data Fields | |
char | name [CACHE_DB_LEN] |
switch_cache_db_handle_type_t | type |
switch_cache_db_native_handle_t | native_handle |
time_t | last_used |
switch_mutex_t * | mutex |
switch_memory_pool_t * | pool |
int32_t | flags |
unsigned long | hash |
unsigned long | thread_hash |
char | creator [CACHE_DB_LEN] |
char | last_user [CACHE_DB_LEN] |
uint32_t | use_count |
uint64_t | total_used_count |
struct switch_cache_db_handle * | next |
Definition at line 43 of file switch_core_sqldb.c.
char switch_cache_db_handle::creator[CACHE_DB_LEN] |
Definition at line 53 of file switch_core_sqldb.c.
Referenced by add_handle(), sql_close(), and switch_cache_db_status().
int32_t switch_cache_db_handle::flags |
Definition at line 50 of file switch_core_sqldb.c.
Referenced by switch_core_asr_open(), and switch_core_codec_init_with_bitrate().
unsigned long switch_cache_db_handle::hash |
Definition at line 51 of file switch_core_sqldb.c.
Referenced by add_handle(), and get_handle().
time_t switch_cache_db_handle::last_used |
Definition at line 47 of file switch_core_sqldb.c.
Referenced by _switch_cache_db_get_db_handle(), sql_close(), switch_cache_db_execute_sql_callback(), switch_cache_db_execute_sql_callback_err(), switch_cache_db_execute_sql_event_callback(), switch_cache_db_execute_sql_event_callback_err(), and switch_cache_db_status().
char switch_cache_db_handle::last_user[CACHE_DB_LEN] |
Definition at line 54 of file switch_core_sqldb.c.
Referenced by get_handle(), sql_close(), and switch_cache_db_status().
switch_mutex_t* switch_cache_db_handle::mutex |
Definition at line 48 of file switch_core_sqldb.c.
Referenced by add_handle(), create_handle(), get_handle(), sql_close(), switch_cache_db_database_interface_flush_handles(), and switch_cache_db_status().
char switch_cache_db_handle::name[CACHE_DB_LEN] |
Definition at line 44 of file switch_core_sqldb.c.
Referenced by _switch_cache_db_get_db_handle(), add_handle(), core_event_handler(), do_trans(), sql_close(), switch_cache_db_database_interface_flush_handles(), switch_cache_db_execute_sql_real(), and switch_cache_db_status().
switch_cache_db_native_handle_t switch_cache_db_handle::native_handle |
Definition at line 46 of file switch_core_sqldb.c.
Referenced by _switch_cache_db_get_db_handle(), do_trans(), sql_close(), switch_cache_db_affected_rows(), switch_cache_db_database_interface_flush_handles(), switch_cache_db_execute_sql2str(), switch_cache_db_execute_sql_callback(), switch_cache_db_execute_sql_callback_err(), switch_cache_db_execute_sql_event_callback(), switch_cache_db_execute_sql_event_callback_err(), switch_cache_db_execute_sql_real(), switch_cache_db_load_extension(), switch_cache_db_persistant_execute_trans_full(), and switch_cache_db_test_reactive_ex().
struct switch_cache_db_handle* switch_cache_db_handle::next |
Definition at line 57 of file switch_core_sqldb.c.
Referenced by add_handle(), del_handle(), get_handle(), sql_close(), switch_cache_db_database_interface_flush_handles(), and switch_cache_db_status().
switch_memory_pool_t* switch_cache_db_handle::pool |
Definition at line 49 of file switch_core_sqldb.c.
Referenced by _switch_cache_db_get_db_handle(), create_handle(), destroy_handle(), new_job(), sql_in_thread(), switch_core_sqldb_start(), switch_sql_queue_manager_destroy(), and switch_sql_queue_manager_init_name().
unsigned long switch_cache_db_handle::thread_hash |
Definition at line 52 of file switch_core_sqldb.c.
Referenced by add_handle(), and get_handle().
uint64_t switch_cache_db_handle::total_used_count |
Definition at line 56 of file switch_core_sqldb.c.
Referenced by add_handle(), get_handle(), and switch_cache_db_status().
switch_cache_db_handle_type_t switch_cache_db_handle::type |
Definition at line 45 of file switch_core_sqldb.c.
Referenced by _switch_cache_db_get_db_handle(), _switch_cache_db_get_db_handle_dsn_ex(), core_event_handler(), create_handle(), do_trans(), sql_close(), switch_cache_db_affected_rows(), switch_cache_db_database_interface_flush_handles(), switch_cache_db_execute_sql(), switch_cache_db_execute_sql2str(), switch_cache_db_execute_sql_callback(), switch_cache_db_execute_sql_callback_err(), switch_cache_db_execute_sql_event_callback(), switch_cache_db_execute_sql_event_callback_err(), switch_cache_db_execute_sql_real(), switch_cache_db_get_type(), switch_cache_db_load_extension(), switch_cache_db_persistant_execute_trans_full(), switch_cache_db_status(), switch_cache_db_test_reactive_ex(), switch_cache_db_type_name(), switch_core_dbtype(), and switch_user_sql_thread().
uint32_t switch_cache_db_handle::use_count |
Definition at line 55 of file switch_core_sqldb.c.
Referenced by add_handle(), get_handle(), sql_close(), and switch_cache_db_status().