RTS API Documentation  1.10.11
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_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 43 of file switch_core_sqldb.c.

Field Documentation

◆ creator

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

◆ flags

int32_t switch_cache_db_handle::flags

◆ hash

unsigned long switch_cache_db_handle::hash

Definition at line 51 of file switch_core_sqldb.c.

Referenced by add_handle(), and get_handle().

◆ last_used

time_t switch_cache_db_handle::last_used

◆ last_user

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

◆ mutex

switch_mutex_t* switch_cache_db_handle::mutex

◆ name

char switch_cache_db_handle::name[CACHE_DB_LEN]

◆ native_handle

switch_cache_db_native_handle_t switch_cache_db_handle::native_handle

◆ next

struct switch_cache_db_handle* switch_cache_db_handle::next

◆ pool

switch_memory_pool_t* switch_cache_db_handle::pool

◆ thread_hash

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

◆ total_used_count

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

◆ type

switch_cache_db_handle_type_t switch_cache_db_handle::type

◆ use_count

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: