HomePort
Public Member Functions | Data Fields
hpd_tcpd_conn Struct Reference

All data to represent a connection. More...

Collaboration diagram for hpd_tcpd_conn:

Public Member Functions

 TAILQ_ENTRY (hpd_tcpd_conn) HPD_TAILQ_FIELD
 

Data Fields

void * ctx
 Connection context. More...
 
char ip [INET6_ADDRSTRLEN]
 IP address of client. More...
 
ev_io recv_watcher
 Recieve watcher. More...
 
int send_close
 Close socket after send ? More...
 
size_t send_len
 Length of data to send. More...
 
char * send_msg
 Data to send. More...
 
ev_io send_watcher
 Send watcher. More...
 
hpd_tcpd_ttcpd
 Webserver instance. More...
 
int timeout
 Restart timeout watcher ? More...
 
ev_timer timeout_watcher
 Timeout watcher. More...
 

Detailed Description

All data to represent a connection.

Definition at line 56 of file tcpd_intern.h.

Member Function Documentation

hpd_tcpd_conn::TAILQ_ENTRY ( hpd_tcpd_conn  )

Field Documentation

void* hpd_tcpd_conn::ctx

Connection context.

Definition at line 67 of file tcpd_intern.h.

char hpd_tcpd_conn::ip[INET6_ADDRSTRLEN]

IP address of client.

Definition at line 59 of file tcpd_intern.h.

ev_io hpd_tcpd_conn::recv_watcher

Recieve watcher.

Definition at line 62 of file tcpd_intern.h.

int hpd_tcpd_conn::send_close

Close socket after send ?

Definition at line 66 of file tcpd_intern.h.

size_t hpd_tcpd_conn::send_len

Length of data to send.

Definition at line 65 of file tcpd_intern.h.

char* hpd_tcpd_conn::send_msg

Data to send.

Definition at line 64 of file tcpd_intern.h.

ev_io hpd_tcpd_conn::send_watcher

Send watcher.

Definition at line 63 of file tcpd_intern.h.

hpd_tcpd_t* hpd_tcpd_conn::tcpd

Webserver instance.

Definition at line 58 of file tcpd_intern.h.

int hpd_tcpd_conn::timeout

Restart timeout watcher ?

Definition at line 61 of file tcpd_intern.h.

ev_timer hpd_tcpd_conn::timeout_watcher

Timeout watcher.

Definition at line 60 of file tcpd_intern.h.


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