Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

client_state Struct Reference

The state of a Privoxy processing thread. More...


Data Fields

configuration_specconfig
current_action_spec action [1]
jb_socket cfd
jb_socket sfd
unsigned short int flags
char * ip_addr_str
long ip_addr_long
char * my_ip_addr_str
char * my_hostname
http_request http [1]
iob iob [1]
list headers [1]
list cookie_list [1]
unsigned short int content_type
char * x_forwarded
file_listactions_list [MAX_ACTION_FILES]
file_listrlist
size_t content_length
client_state * next


Detailed Description

The state of a Privoxy processing thread.


Field Documentation

struct current_action_spec client_state::action[1]
 

The actions to perform on the current request.

struct file_list* client_state::actions_list[MAX_ACTION_FILES]
 

Actions files associated with this client.

jb_socket client_state::cfd
 

socket to talk to client (web browser).

struct configuration_spec* client_state::config
 

The proxy's configuration.

size_t client_state::content_length
 

Length after content modification.

unsigned short int client_state::content_type
 

MIME-Type key, see CT_* above.

struct list client_state::cookie_list[1]
 

List of all cookies for this request.

unsigned short int client_state::flags
 

Multi-purpose flag container, see CSP_FLAG_* above.

struct list client_state::headers[1]
 

List of all headers for this request.

struct http_request client_state::http[1]
 

The URL that was requested.

struct iob client_state::iob[1]
 

An I/O buffer used for buffering data read from the network.

long client_state::ip_addr_long
 

Client PC's IP address, as reported by the accept() function.

As a number.

char* client_state::ip_addr_str
 

Client PC's IP address, as reported by the accept() function.

As a string.

char* client_state::my_hostname
 

Our hostname.

I.e. the reverse DNS of the IP address that the client used to reach us, as a string.

char* client_state::my_ip_addr_str
 

Our IP address.

I.e. the IP address that the client used to reach us, as a string.

struct client_state* client_state::next
 

Next thread in linked list.

Only read or modify from the main thread!

struct file_list* client_state::rlist
 

pcrs job file.

jb_socket client_state::sfd
 

socket to talk to server (web server or proxy).

char* client_state::x_forwarded
 

The "X-Forwarded-For:" header sent by the client.


The documentation for this struct was generated from the following file:
Generated on Tue Jun 4 18:54:49 2002 for Privoxy 3.1.1 by doxygen1.2.15