Thu Jul 9 13:41:42 2009

Asterisk developer's documentation


server_args Struct Reference

arguments for the accepting thread More...

#include <tcptls.h>


Data Fields

int accept_fd
void *(* accept_fn )(void *)
char hostname [MAXHOSTNAMELEN]
pthread_t master
const char * name
sockaddr_in oldsin
void(* periodic_fn )(void *)
int poll_timeout
sockaddr_in sin
ast_tls_configtls_cfg
void *(* worker_fn )(void *)


Detailed Description

arguments for the accepting thread

Definition at line 137 of file tcptls.h.


Field Documentation

int accept_fd

Definition at line 142 of file tcptls.h.

Referenced by sip_prepare_socket().

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 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 sip_prepare_socket(), and unload_module().

const char* name

Definition at line 148 of file tcptls.h.

Referenced by sip_prepare_socket().

struct sockaddr_in oldsin

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

struct sockaddr_in sin

Definition at line 138 of file tcptls.h.

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

struct ast_tls_config* tls_cfg

points to the SSL configuration if any

Definition at line 141 of file tcptls.h.

Referenced by ast_make_file_from_fd(), and sip_prepare_socket().

void*(* worker_fn)(void *)

the function in charge of doing the actual work

Referenced by ast_make_file_from_fd().


The documentation for this struct was generated from the following file:
Generated on Thu Jul 9 13:41:42 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7