Asterisk - The Open Source Telephony Project
21.4.1
|
arguments for the accepting thread More...
#include <tcptls.h>
Data Fields | |
int | accept_fd |
void *(* | accept_fn )(void *) |
char | hostname [MAXHOSTNAMELEN] |
struct ast_sockaddr | local_address |
pthread_t | master |
const char * | name |
struct ast_sockaddr | old_address |
struct ast_tls_config * | old_tls_cfg |
void(* | periodic_fn )(void *) |
int | poll_timeout |
struct ast_sockaddr | remote_address |
struct ast_tls_config * | tls_cfg |
void *(* | worker_fn )(void *) |
void*(* accept_fn) (void *) |
the function in charge of doing the accept
Definition at line 140 of file tcptls.h.
Referenced by ast_tcptls_server_start().
char hostname[MAXHOSTNAMELEN] |
only necessary for SSL clients so we can compare to common name
Definition at line 134 of file tcptls.h.
Referenced by ast_tcptls_client_create(), and handle_tcptls_connection().
pthread_t master |
Server accept_fn thread ID used for external shutdown requests.
Definition at line 139 of file tcptls.h.
Referenced by ast_tcptls_server_start(), and ast_tcptls_server_stop().
struct ast_sockaddr old_address |
copy of the local or remote address depending on if its a client or server session
Definition at line 132 of file tcptls.h.
Referenced by ast_tcptls_client_create(), and ast_tcptls_server_start().
struct ast_tls_config* old_tls_cfg |
copy of the SSL configuration to determine whether changes have been made
Definition at line 144 of file tcptls.h.
Referenced by ast_tcptls_server_start(), and ast_tcptls_server_stop().
void(* periodic_fn) (void *) |
struct ast_tls_config* tls_cfg |
points to the SSL configuration if any
Definition at line 135 of file tcptls.h.
Referenced by ast_tcptls_client_create(), ast_tcptls_client_start_timeout(), ast_tcptls_server_start(), and handle_tcptls_connection().
void*(* worker_fn) (void *) |
the function in charge of doing the actual work
Definition at line 142 of file tcptls.h.
Referenced by ast_tcptls_client_create(), and handle_tcptls_connection().