#include <tcptls.h>

Data Fields | |
| int | accept_fd |
| void *(* | accept_fn )(void *) |
| char | hostname [MAXHOSTNAMELEN] |
| pthread_t | master |
| const char * | name |
| struct sockaddr_in | oldsin |
| void(* | periodic_fn )(void *) |
| int | poll_timeout |
| struct sockaddr_in | sin |
| struct ast_tls_config * | tls_cfg |
| void *(* | worker_fn )(void *) |
Definition at line 137 of file tcptls.h.
| int accept_fd |
Definition at line 142 of file tcptls.h.
Referenced by ast_tcptls_client_start(), ast_tcptls_server_root(), ast_tcptls_server_start(), ast_tcptls_server_stop(), and sip_prepare_socket().
| void*(* accept_fn)(void *) |
the function in charge of doing the accept
Referenced by ast_tcptls_server_start().
| char hostname[MAXHOSTNAMELEN] |
only necessary for SSL clients so we can compare to common name
Definition at line 140 of file tcptls.h.
Referenced by ast_make_file_from_fd(), and sip_prepare_socket().
| pthread_t master |
Definition at line 144 of file tcptls.h.
Referenced by ast_tcptls_server_start(), ast_tcptls_server_stop(), sip_prepare_socket(), and unload_module().
| const char* name |
Definition at line 148 of file tcptls.h.
Referenced by ast_tcptls_client_start(), ast_tcptls_server_start(), and sip_prepare_socket().
struct sockaddr_in oldsin [read] |
Definition at line 139 of file tcptls.h.
Referenced by ast_tcptls_client_start(), ast_tcptls_server_start(), handle_show_http(), and httpstatus_callback().
| void(* periodic_fn)(void *) |
something we may want to run before after select on the accept socket
Referenced by ast_tcptls_server_root().
| int poll_timeout |
struct sockaddr_in sin [read] |
Definition at line 138 of file tcptls.h.
Referenced by __ast_http_load(), __init_manager(), ast_sip_ouraddrfor(), ast_tcptls_client_start(), ast_tcptls_server_start(), reload_config(), sip_prepare_socket(), sip_show_settings(), and transmit_register().
struct ast_tls_config* tls_cfg [read] |
points to the SSL configuration if any
Definition at line 141 of file tcptls.h.
Referenced by __ast_http_load(), __init_manager(), ast_make_file_from_fd(), ast_tcptls_client_start(), reload_config(), and sip_prepare_socket().
| void*(* worker_fn)(void *) |
the function in charge of doing the actual work
Referenced by ast_make_file_from_fd(), and ast_tcptls_client_start().
1.5.6