Wed Oct 28 11:47:38 2009

Asterisk developer's documentation


server_args Struct Reference

arguments for the accepting thread More...

#include <tcptls.h>

Collaboration diagram for server_args:

Collaboration graph
[legend]

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_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

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

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]

void(* periodic_fn)(void *)

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

Referenced by ast_tcptls_server_root().

Definition at line 143 of file tcptls.h.

Referenced by ast_tcptls_server_root().

struct sockaddr_in sin [read]

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().


The documentation for this struct was generated from the following file:

Generated on Wed Oct 28 11:47:38 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6