Structure Summary
Structure MimeProperty
Structure HttpRequest
Structure HttpResponse
Structure PostInfo
   
Structure Details

MimeProperty

/* * This data structure is used to store mime properties (types * and encoding). */
U_CHAR *ext; /* To store the extension */
U_CHAR *type; /* To store the type */

HttpRequest

/* * This data structure is used to store the received htttp request information. * */
INT32 sessionId; /* Id to identify the session */
CHAR *encodedUrl; /* URL received from the client browser */
CHAR *decodedUrl; /* URL converted to decimal from hexa form
if present */
CHAR *origFileName; /* File name as specified in the URL */
CHAR *expnFileName; /* Filename with the absolute path */
CHAR *query; /* To store the servlet query */
CHAR *referer; /* To store the referer header value */
CHAR *reqHost; /* To store the requested host value */
CHAR *hdrHost; /* To store the host header value */
CHAR *postData; /* To store the Post data */
CHAR *authorization; /* To store Authorization header value */
CHAR *remoteUser; /* To store name of remote user */
INT32 processedIdx; /* To store the position of the data
processed */
INT32 method; /* To store the Request method GET / HEAD /
POST */
struct tm *ifModifiedSince; /* To store the IfModifiedSince Header
value */
struct tm *ifUnModifiedSince; /* To store the IfUnModifiedSince Header
value */
CHAR *transferEncoding; /* To store the type of encoding used during the transfer */
CHAR *chunkData; /* To store the chunk data */
INT32 contentLength; /* To store the Content length header
value */
INT32 keepAlive; /* To store the Connection Header value */
INT32 mimeFlag; /* To know whether there are mime headers
included */
CHAR *protocol; /* To Store the protocol version */
U_CHAR rcvdPkt[MAX_PROCESS_REQSIZE]; /* To Store the to received request */
U_INT32 rcvdPktLen; /* To Store the received buffer length */

HttpResponse

/* * This structure is used to store the htttp response information. * */
INT32 sessionId; /* Id to identify the session */
CHAR *respPkt; /* To Store the response packet */
U_INT32 respPktLen; /* To Store the respone buffer length */
U_INT32 respStartIdx; /* To Store the response start index */
FILE *fptr; /* To Store the position of file pointer
to be read */
CHAR *tempPtr; /* To store the reference of the response to be sent when the response is sent in more than a packet */
U_INT32 totalRespLen; /* To Store the total response length */
#ifdef MULTI_THREAD
CHAR *expnFileName; /* Filename with the absolute path */
CHAR *protocol;
#endif

PostInfo

/* * This structure is used for storing the * information of the post message and the variables. */
CHAR *key; /* To identify each module*/
ModuleInfo *mInfo; /* ModuleInformation Ptr */
Vector *vect; /* Vector to store Attribute Information */