Wed Aug 18 22:34:37 2010

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]
sockaddr_in local_address
pthread_t master
const char * name
sockaddr_in old_address
void(* periodic_fn )(void *)
int poll_timeout
sockaddr_in remote_address
ast_tls_configtls_cfg
void *(* worker_fn )(void *)


Detailed Description

arguments for the accepting thread

Definition at line 115 of file tcptls.h.


Field Documentation

int accept_fd

Definition at line 121 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 119 of file tcptls.h.

Referenced by handle_tcptls_connection().

struct sockaddr_in local_address

Definition at line 116 of file tcptls.h.

Referenced by __ast_http_load(), __init_manager(), ast_sip_ouraddrfor(), reload_config(), sip_show_settings(), and transmit_register().

pthread_t master

Definition at line 123 of file tcptls.h.

Referenced by unload_module().

const char* name

Definition at line 127 of file tcptls.h.

Referenced by sip_prepare_socket(), and sip_tcptls_client_args_destructor().

struct sockaddr_in old_address

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

Definition at line 117 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 122 of file tcptls.h.

struct sockaddr_in remote_address

Definition at line 118 of file tcptls.h.

Referenced by sip_prepare_socket().

struct ast_tls_config* tls_cfg

points to the SSL configuration if any

Definition at line 120 of file tcptls.h.

Referenced by handle_tcptls_connection(), and sip_tcptls_client_args_destructor().

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 Wed Aug 18 22:34:37 2010 for Asterisk - the Open Source PBX by  doxygen 1.4.7