Mon Oct 8 12:39:31 2012

Asterisk developer's documentation


ast_tcptls_session_instance Struct Reference

#include <tcptls.h>


Data Fields

int client
FILE * f
int fd
ast_mutex_t lock
ast_tcptls_session_argsparent
ast_sockaddr remote_address
SSL * ssl


Detailed Description

Definition at line 142 of file tcptls.h.


Field Documentation

int client

Definition at line 147 of file tcptls.h.

Referenced by _sip_tcp_helper_thread(), and handle_tcptls_connection().

FILE* f

Definition at line 143 of file tcptls.h.

Referenced by ast_http_send(), ast_tcptls_close_session_file(), handle_tcptls_connection(), httpd_helper_thread(), and session_do().

int fd

Definition at line 144 of file tcptls.h.

Referenced by _sip_tcp_helper_thread(), ast_tcptls_close_session_file(), ast_tcptls_server_read(), ast_tcptls_server_write(), handle_tcptls_connection(), phoneprov_callback(), session_do(), sip_prepare_socket(), and sip_tcptls_write().

ast_mutex_t lock

XXX Why do we still use this lock when this struct is allocated as an ao2 object which has its own lock?

Definition at line 151 of file tcptls.h.

Referenced by session_instance_destructor(), and sip_tcptls_write().

struct ast_tcptls_session_args* parent

Definition at line 149 of file tcptls.h.

Referenced by _sip_tcp_helper_thread(), ast_tcptls_client_start(), handle_tcptls_connection(), mansession_encode_sin_local(), and mansession_get_transport().

struct ast_sockaddr remote_address

Definition at line 148 of file tcptls.h.

Referenced by auth_manager_http_callback(), auth_mxml_http_callback(), auth_rawman_http_callback(), manager_http_callback(), mxml_http_callback(), rawman_http_callback(), and session_do().

SSL* ssl

Definition at line 145 of file tcptls.h.

Referenced by _sip_tcp_helper_thread(), ast_tcptls_server_read(), ast_tcptls_server_write(), handle_tcptls_connection(), and sip_threadinfo_create().


The documentation for this struct was generated from the following file:
Generated on Mon Oct 8 12:39:31 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7