Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

Connection Struct Reference

Collaboration diagram for Connection:

Collaboration graph
[legend]

Public Types

enum  { yes, no }

Data Fields

Mutexinlock
Mutexoutlock
volatile sig_atomic_t claimed
long claiming_thread
int fd
enum Connection:: { ... }  connected
Octstroutbuf
long outbufpos
unsigned int output_buffering
Octstrinbuf
long inbufpos
int read_eof
int io_error
FDSetregistered
conn_callback_tcallback
void * callback_data
conn_callback_data_destroyer_tcallback_data_destroyer
int listening_pollin
int listening_pollout
SSL * ssl
X509 * peer_certificate

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
yes 
no 

Definition at line 120 of file conn.c.

00120 {yes,no} connected;


Field Documentation

conn_callback_t* Connection::callback
 

Definition at line 140 of file conn.c.

Referenced by conn_register_real(), conn_unregister(), and poll_callback().

void* Connection::callback_data
 

Definition at line 141 of file conn.c.

Referenced by conn_destroy(), conn_register_real(), conn_unregister(), and poll_callback().

conn_callback_data_destroyer_t* Connection::callback_data_destroyer
 

Definition at line 142 of file conn.c.

Referenced by conn_destroy(), conn_register_real(), and conn_unregister().

volatile sig_atomic_t Connection::claimed
 

Definition at line 111 of file conn.c.

Referenced by conn_claim(), lock_in(), lock_out(), unlock_in_real(), and unlock_out_real().

long Connection::claiming_thread
 

Definition at line 113 of file conn.c.

Referenced by conn_claim(), lock_in(), and lock_out().

enum { ... } Connection::connected
 

Referenced by conn_get_connect_result(), conn_is_connected(), conn_open_tcp_nb_with_port(), conn_register_real(), and poll_callback().

int Connection::fd
 

Definition at line 117 of file conn.c.

Referenced by conn_destroy(), conn_flush(), conn_get_connect_result(), conn_get_id(), conn_init_client_ssl(), conn_register_real(), conn_unregister(), conn_wait(), poll_callback(), unlocked_read(), unlocked_register_pollin(), unlocked_register_pollout(), and unlocked_write().

Octstr* Connection::inbuf
 

Definition at line 131 of file conn.c.

Referenced by conn_destroy(), conn_read_line(), conn_read_packet(), conn_read_withlen(), unlocked_get(), unlocked_inbuf_len(), and unlocked_read().

long Connection::inbufpos
 

Definition at line 132 of file conn.c.

Referenced by conn_read_line(), conn_read_packet(), conn_read_withlen(), unlocked_get(), unlocked_inbuf_len(), and unlocked_read().

Mutex* Connection::inlock
 

Definition at line 109 of file conn.c.

Referenced by conn_destroy(), conn_wrap_fd(), lock_in(), and unlock_in_real().

int Connection::io_error
 

Definition at line 135 of file conn.c.

Referenced by conn_error(), conn_register_real(), conn_wait(), poll_callback(), unlocked_read(), and unlocked_write().

int Connection::listening_pollin
 

Definition at line 144 of file conn.c.

Referenced by conn_register_real(), conn_unregister(), poll_callback(), and unlocked_register_pollin().

int Connection::listening_pollout
 

Definition at line 146 of file conn.c.

Referenced by conn_register_real(), conn_unregister(), poll_callback(), and unlocked_register_pollout().

Octstr* Connection::outbuf
 

Definition at line 123 of file conn.c.

Referenced by conn_destroy(), conn_write(), conn_write_data(), conn_write_withlen(), unlocked_outbuf_len(), and unlocked_write().

long Connection::outbufpos
 

Definition at line 124 of file conn.c.

Referenced by unlocked_outbuf_len(), and unlocked_write().

Mutex* Connection::outlock
 

Definition at line 110 of file conn.c.

Referenced by conn_destroy(), lock_out(), and unlock_out_real().

unsigned int Connection::output_buffering
 

Definition at line 128 of file conn.c.

Referenced by conn_set_output_buffering(), and unlocked_try_write().

X509* Connection::peer_certificate
 

Definition at line 150 of file conn.c.

Referenced by conn_destroy(), and conn_get_peer_certificate().

int Connection::read_eof
 

Definition at line 134 of file conn.c.

Referenced by conn_eof(), conn_register_real(), conn_wait(), and unlocked_read().

FDSet* Connection::registered
 

Definition at line 139 of file conn.c.

Referenced by conn_destroy(), conn_register_real(), conn_unregister(), unlocked_read(), unlocked_register_pollin(), unlocked_register_pollout(), and unlocked_write().

SSL* Connection::ssl
 

Definition at line 149 of file conn.c.

Referenced by conn_destroy(), conn_get_peer_certificate(), conn_get_ssl(), conn_init_client_ssl(), unlocked_read(), and unlocked_write().


The documentation for this struct was generated from the following file: See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.