Kannel: Open Source WAP and SMS gateway  $Revision: 5037 $
Connection Struct Reference

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
 

Detailed Description

Definition at line 104 of file conn.c.

Member Enumeration Documentation

anonymous enum
Enumerator
yes 
no 

Definition at line 120 of file conn.c.

120 {yes,no} connected;
enum Connection::@56 connected

Field Documentation

conn_callback_t* Connection::callback

Definition at line 140 of file conn.c.

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

void* Connection::callback_data
conn_callback_data_destroyer_t* Connection::callback_data_destroyer

Definition at line 142 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 111 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 113 of file conn.c.

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

long Connection::inbufpos
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
int Connection::listening_pollin
int Connection::listening_pollout
long Connection::outbufpos

Definition at line 124 of file conn.c.

Referenced by conn_wrap_fd(), unlocked_outbuf_len(), and unlocked_write().

Mutex* Connection::outlock

Definition at line 110 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 128 of file conn.c.

Referenced by conn_set_output_buffering(), conn_wrap_fd(), and unlocked_try_write().

int Connection::read_eof

Definition at line 134 of file conn.c.

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


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.