In file globals.h:

request

The request structure itself

[more]char accept[MAX_ACCEPT_LENGTH]
Accept: fields
[more]char buffer[BUFFER_SIZE + 1]
generic I/O buffer
[more]int buffer_end
where the buffer ends
[more]int buffer_start
where the buffer starts
[more]char** cgi_env
CGI environment
[more]char client_stream[CLIENT_STREAM_SIZE]
data from client - fit or be hosed
[more]int client_stream_pos
how much have we read
[more]char* content_length
env variable
[more]char* content_type
env variable
[more]int data_fd
fd of data
[more]char* data_mem
mmapped/malloced char array
[more]int fd
client's socket fd
[more]long filepos
position in file
[more]long filesize
filesize
[more]char* header_end
last known end of header, or end of processed data
[more]char* header_line
beginning of un or incompletely processed header line
[more]char* header_referer
Referer for logfiles
[more]char* header_user_agent
Agent for logfiles
[more]char* http_version
HTTP/?
[more]char* if_modified_since
If-Modified-Since
[more]int is_cgi
true if CGI/NPH
[more]int kacount
keepalive count
[more]int keepalive
keepalive status
[more]time_t last_modified
Last-modified:
[more]char* logline
line to log file
[more]int method
M_GET, M_POST, etc
[more]request* next
next
[more]int parse_pos
how much have we parsed
[more]char* path_info
env variable
[more]char* path_translated
env variable
[more]char* pathname
pathname of requested file
[more]int post_data_fd
fd for post data tmpfile
[more]char* post_file_name
only used processing POST
[more]request* prev
previous
[more]char* query_string
env variable
[more]char remote_ip_addr[NI_MAXHOST]
after inet_ntoa
[more]int remote_port
could be used for ident
[more]char request_uri[MAX_HEADER_LENGTH + 1]
uri
[more]int response_status
R_NOT_FOUND etc
[more]char* script_name
env variable
[more]int simple
simple request?
[more]int status
see #defines
[more]time_t time_last
time of last successful operation


Documentation

The request structure itself. Very large, very comprehensive.
oint fd
client's socket fd

oint status
see #defines.h

otime_t time_last
time of last successful operation

ochar* pathname
pathname of requested file

oint simple
simple request?

oint keepalive
keepalive status

oint kacount
keepalive count

oint data_fd
fd of data

olong filesize
filesize

olong filepos
position in file

ochar* data_mem
mmapped/malloced char array

oint method
M_GET, M_POST, etc.

ochar* logline
line to log file

ochar* header_line
beginning of un or incompletely processed header line

ochar* header_end
last known end of header, or end of processed data

oint parse_pos
how much have we parsed

oint client_stream_pos
how much have we read...

oint buffer_start
where the buffer starts

oint buffer_end
where the buffer ends

ochar* http_version
HTTP/?.? of req

oint response_status
R_NOT_FOUND etc.

ochar* if_modified_since
If-Modified-Since

otime_t last_modified
Last-modified:

oint remote_port
could be used for ident

ochar remote_ip_addr[NI_MAXHOST]
after inet_ntoa

oint is_cgi
true if CGI/NPH

ochar** cgi_env
CGI environment

ochar* header_user_agent
Agent for logfiles

ochar* header_referer
Referer for logfiles

oint post_data_fd
fd for post data tmpfile

ochar* post_file_name
only used processing POST

ochar* path_info
env variable

ochar* path_translated
env variable

ochar* script_name
env variable

ochar* query_string
env variable

ochar* content_type
env variable

ochar* content_length
env variable

orequest* next
next

orequest* prev
previous

ochar buffer[BUFFER_SIZE + 1]
generic I/O buffer

ochar request_uri[MAX_HEADER_LENGTH + 1]
uri

ochar client_stream[CLIENT_STREAM_SIZE]
data from client - fit or be hosed

ochar accept[MAX_ACCEPT_LENGTH]
Accept: fields

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.