Collaboration diagram for Brought To You By APR:
| SWITCH_NO_DESC | nothing here |
| SWITCH_POLL_SOCKET | descriptor refers to a socket |
| SWITCH_POLL_FILE | descriptor refers to a file |
| SWITCH_POLL_LASTDESC | descriptor is the last one in the list |
Definition at line 1305 of file switch_apr.h.
01305 { 01306 SWITCH_NO_DESC, /**< nothing here */ 01307 SWITCH_POLL_SOCKET, /**< descriptor refers to a socket */ 01308 SWITCH_POLL_FILE, /**< descriptor refers to a file */ 01309 SWITCH_POLL_LASTDESC /**< descriptor is the last one in the list */ 01310 } switch_pollset_type_t;
| SWITCH_POLL_FILE |
descriptor refers to a file
| SWITCH_POLL_LASTDESC |
descriptor is the last one in the list
Definition at line 1309 of file switch_apr.h.
| SWITCH_POLL_SOCKET |
descriptor refers to a socket
| SWITCH_SHUTDOWN_READWRITE |
no longer allow read or write requests
Definition at line 1064 of file switch_apr.h.
Referenced by switch_ivr_deactivate_unicast(), switch_rtp_kill_socket(), switch_rtp_udptl_mode(), and switch_stun_lookup().
| SWITCH_SHUTDOWN_WRITE |
no longer allow write requests
| unsigned int switch_ci_hashfunc_default | ( | const char * | char_key, | |
| switch_ssize_t * | klen | |||
| ) |
Definition at line 98 of file switch_apr.c.
Referenced by add_handle(), get_handle(), switch_event_base_add_header(), switch_event_del_header_val(), switch_event_get_header_ptr(), and switch_event_rename_header().
00099 { 00100 unsigned int hash = 0; 00101 const unsigned char *key = (const unsigned char *) char_key; 00102 const unsigned char *p; 00103 apr_ssize_t i; 00104 00105 if (*klen == APR_HASH_KEY_STRING) { 00106 for (p = key; *p; p++) { 00107 hash = hash * 33 + tolower(*p); 00108 } 00109 *klen = p - key; 00110 } else { 00111 for (p = key, i = *klen; i; i--, p++) { 00112 hash = hash * 33 + tolower(*p); 00113 } 00114 } 00115 00116 return hash; 00117 }
| unsigned int switch_hashfunc_default | ( | const char * | key, | |
| switch_ssize_t * | klen | |||
| ) |
The default hash function.
| key | pointer to the key. | |
| klen | the key length. |
Definition at line 120 of file switch_apr.c.
Referenced by switch_ivr_parse_event().
void* switch_pollfd::client_data [inherited] |
allows app to associate context
Definition at line 1324 of file switch_apr.h.
switch_descriptor_t switch_pollfd::desc [inherited] |
switch_pollset_type_t switch_pollfd::desc_type [inherited] |
descriptor type
Definition at line 1320 of file switch_apr.h.
int switch_array_header_t::elt_size [inherited] |
The amount of memory allocated for each element of the array
Definition at line 955 of file switch_apr.h.
char* switch_array_header_t::elts [inherited] |
The elements in the array
Definition at line 961 of file switch_apr.h.
int switch_array_header_t::nalloc [inherited] |
The number of elements allocated in the array
Definition at line 959 of file switch_apr.h.
int switch_array_header_t::nelts [inherited] |
The number of active elements in the array
Definition at line 957 of file switch_apr.h.
int16_t switch_pollfd::reqevents [inherited] |
requested events
Definition at line 1321 of file switch_apr.h.
int16_t switch_pollfd::rtnevents [inherited] |
returned events
Definition at line 1322 of file switch_apr.h.
switch_socket_t* switch_descriptor_t::s [inherited] |
socket
Definition at line 1314 of file switch_apr.h.
int32_t switch_time_exp_t::tm_gmtoff [inherited] |
seconds east of UTC
Definition at line 269 of file switch_apr.h.
int32_t switch_time_exp_t::tm_hour [inherited] |
(0-23) hours past midnight
Definition at line 255 of file switch_apr.h.
Referenced by switch_log_vprintf(), switch_str_time(), and switch_xml_std_datetime_check().
int32_t switch_time_exp_t::tm_isdst [inherited] |
daylight saving time
Definition at line 267 of file switch_apr.h.
int32_t switch_time_exp_t::tm_mday [inherited] |
(1-31) day of the month
Definition at line 257 of file switch_apr.h.
Referenced by switch_log_vprintf(), switch_str_time(), and switch_xml_std_datetime_check().
int32_t switch_time_exp_t::tm_min [inherited] |
(0-59) minutes past tm_hour
Definition at line 253 of file switch_apr.h.
Referenced by switch_log_vprintf(), switch_str_time(), and switch_xml_std_datetime_check().
int32_t switch_time_exp_t::tm_mon [inherited] |
(0-11) month of the year
Definition at line 259 of file switch_apr.h.
Referenced by switch_log_vprintf(), switch_str_time(), and switch_xml_std_datetime_check().
int32_t switch_time_exp_t::tm_sec [inherited] |
(0-61) seconds past tm_min
Definition at line 251 of file switch_apr.h.
Referenced by switch_log_vprintf(), switch_str_time(), and switch_xml_std_datetime_check().
int32_t switch_time_exp_t::tm_wday [inherited] |
(0-6) days since sunday
Definition at line 263 of file switch_apr.h.
Referenced by switch_xml_std_datetime_check().
int32_t switch_time_exp_t::tm_yday [inherited] |
(0-365) days since jan 1
Definition at line 265 of file switch_apr.h.
Referenced by switch_xml_std_datetime_check().
int32_t switch_time_exp_t::tm_year [inherited] |
year since 1900
Definition at line 261 of file switch_apr.h.
Referenced by switch_log_vprintf(), switch_str_time(), and switch_xml_std_datetime_check().
1.4.7