Kannel: Open Source WAP and SMS gateway
svn-r5336
|
Public Types | |
enum | { yes, no } |
Data Fields | |
Mutex * | inlock |
Mutex * | outlock |
volatile sig_atomic_t | claimed |
long | claiming_thread |
int | fd |
enum Connection:: { ... } | connected |
Octstr * | outbuf |
long | outbufpos |
unsigned int | output_buffering |
Octstr * | inbuf |
long | inbufpos |
int | read_eof |
int | io_error |
FDSet * | registered |
conn_callback_t * | callback |
void * | callback_data |
conn_callback_data_destroyer_t * | callback_data_destroyer |
int | listening_pollin |
int | listening_pollout |
anonymous enum |
Enumerator | |
---|---|
yes | |
no |
conn_callback_t* Connection::callback |
Definition at line 142 of file conn.c.
Referenced by conn_register_real(), conn_unregister(), conn_wrap_fd(), and poll_callback().
void* Connection::callback_data |
Definition at line 143 of file conn.c.
Referenced by conn_destroy(), conn_register_real(), conn_unregister(), conn_wrap_fd(), and poll_callback().
conn_callback_data_destroyer_t* Connection::callback_data_destroyer |
Definition at line 144 of file conn.c.
Referenced by conn_destroy(), conn_register_real(), conn_unregister(), and conn_wrap_fd().
volatile sig_atomic_t Connection::claimed |
Definition at line 113 of file conn.c.
Referenced by conn_claim(), conn_wrap_fd(), lock_in(), lock_out(), unlock_in_real(), and unlock_out_real().
long Connection::claiming_thread |
Definition at line 115 of file conn.c.
Referenced by conn_claim(), lock_in(), and lock_out().
enum { ... } Connection::connected |
int Connection::fd |
Definition at line 119 of file conn.c.
Referenced by conn_destroy(), conn_flush(), conn_get_connect_result(), conn_get_id(), conn_register_real(), conn_unregister(), conn_wait(), conn_wrap_fd(), poll_callback(), unlocked_read(), unlocked_register_pollin(), unlocked_register_pollout(), and unlocked_write().
Octstr* Connection::inbuf |
Definition at line 133 of file conn.c.
Referenced by conn_destroy(), conn_read_line(), conn_read_packet(), conn_read_withlen(), conn_wrap_fd(), unlocked_get(), unlocked_inbuf_len(), and unlocked_read().
long Connection::inbufpos |
Definition at line 134 of file conn.c.
Referenced by conn_read_line(), conn_read_packet(), conn_read_withlen(), conn_wrap_fd(), unlocked_get(), unlocked_inbuf_len(), and unlocked_read().
Mutex* Connection::inlock |
Definition at line 111 of file conn.c.
Referenced by conn_destroy(), conn_wrap_fd(), lock_in(), and unlock_in_real().
int Connection::io_error |
Definition at line 137 of file conn.c.
Referenced by conn_error(), conn_register_real(), conn_wait(), conn_wrap_fd(), poll_callback(), unlocked_read(), and unlocked_write().
int Connection::listening_pollin |
Definition at line 146 of file conn.c.
Referenced by conn_register_real(), conn_unregister(), conn_wrap_fd(), poll_callback(), and unlocked_register_pollin().
int Connection::listening_pollout |
Definition at line 148 of file conn.c.
Referenced by conn_register_real(), conn_unregister(), conn_wrap_fd(), poll_callback(), and unlocked_register_pollout().
Octstr* Connection::outbuf |
Definition at line 125 of file conn.c.
Referenced by conn_destroy(), conn_wrap_fd(), conn_write(), conn_write_data(), conn_write_withlen(), unlocked_outbuf_len(), and unlocked_write().
long Connection::outbufpos |
Definition at line 126 of file conn.c.
Referenced by conn_wrap_fd(), unlocked_outbuf_len(), and unlocked_write().
Mutex* Connection::outlock |
Definition at line 112 of file conn.c.
Referenced by conn_destroy(), conn_wrap_fd(), lock_out(), and unlock_out_real().
unsigned int Connection::output_buffering |
Definition at line 130 of file conn.c.
Referenced by conn_set_output_buffering(), conn_wrap_fd(), and unlocked_try_write().
int Connection::read_eof |
Definition at line 136 of file conn.c.
Referenced by conn_eof(), conn_register_real(), conn_wait(), conn_wrap_fd(), and unlocked_read().
FDSet* Connection::registered |
Definition at line 141 of file conn.c.
Referenced by conn_destroy(), conn_register_real(), conn_unregister(), conn_wrap_fd(), unlocked_read(), unlocked_register_pollin(), unlocked_register_pollout(), and unlocked_write().