Sat Mar 10 01:55:55 2012

Asterisk developer's documentation


ast_tcptls_session_args Struct Reference

arguments for the accepting thread More...

#include <tcptls.h>


Data Fields

int accept_fd
void *(* accept_fn )(void *)
char hostname [MAXHOSTNAMELEN]
ast_sockaddr local_address
pthread_t master
const char * name
ast_sockaddr old_address
void(* periodic_fn )(void *)
int poll_timeout
ast_sockaddr remote_address
ast_tls_configtls_cfg
void *(* worker_fn )(void *)


Detailed Description

arguments for the accepting thread

Definition at line 123 of file tcptls.h.


Field Documentation

int accept_fd

Definition at line 129 of file tcptls.h.

void*(* accept_fn)(void *)

the function in charge of doing the accept

char hostname[MAXHOSTNAMELEN]

only necessary for SSL clients so we can compare to common name

Definition at line 127 of file tcptls.h.

Referenced by handle_tcptls_connection().

struct ast_sockaddr local_address

Definition at line 124 of file tcptls.h.

Referenced by __ast_http_load(), __init_manager(), ast_sip_ouraddrfor(), ast_tls_read_conf(), handle_manager_show_settings(), mansession_encode_sin_local(), sip_show_settings(), and transmit_register().

pthread_t master

Definition at line 131 of file tcptls.h.

Referenced by unload_module().

const char* name

Definition at line 135 of file tcptls.h.

struct ast_sockaddr old_address

copy of the local or remote address depending on if its a client or server session

Definition at line 125 of file tcptls.h.

Referenced by handle_show_http(), and httpstatus_callback().

void(* periodic_fn)(void *)

something we may want to run before after select on the accept socket

int poll_timeout

Definition at line 130 of file tcptls.h.

struct ast_sockaddr remote_address

Definition at line 126 of file tcptls.h.

struct ast_tls_config* tls_cfg

points to the SSL configuration if any

Definition at line 128 of file tcptls.h.

Referenced by handle_tcptls_connection(), and mansession_get_transport().

void*(* worker_fn)(void *)

the function in charge of doing the actual work

Referenced by handle_tcptls_connection().


The documentation for this struct was generated from the following file:
Generated on Sat Mar 10 01:55:55 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7