FreeSWITCH API Documentation  1.7.0
Data Fields
switch_cache_db_handle Struct Reference
+ Collaboration diagram for switch_cache_db_handle:

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_tmutex
 
switch_mutex_tio_mutex
 
switch_memory_pool_tpool
 
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_handlenext
 

Detailed Description

Definition at line 42 of file switch_core_sqldb.c.

Field Documentation

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
unsigned long switch_cache_db_handle::hash

Definition at line 51 of file switch_core_sqldb.c.

Referenced by add_handle(), and get_handle().

switch_mutex_t* switch_cache_db_handle::io_mutex

Definition at line 48 of file switch_core_sqldb.c.

Referenced by do_trans(), and switch_cache_db_execute_sql_real().

time_t switch_cache_db_handle::last_used
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
char switch_cache_db_handle::name[CACHE_DB_LEN]
switch_cache_db_native_handle_t switch_cache_db_handle::native_handle
struct switch_cache_db_handle* switch_cache_db_handle::next
switch_memory_pool_t* switch_cache_db_handle::pool

Definition at line 49 of file switch_core_sqldb.c.

Referenced by create_handle(), and sql_close().

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
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().


The documentation for this struct was generated from the following file: