00001 #ifndef SESSION_H_INCLUDED
00002 #define SESSION_H_INCLUDED
00003
00004 #include <xmlrpc-c/abyss.h>
00005 #include "abyss_date.h"
00006 #include "abyss_data.h"
00007
00008 typedef struct {
00009 uint8_t major;
00010 uint8_t minor;
00011 } httpVersion;
00012
00013 struct _TSession {
00014 abyss_bool validRequest;
00015
00016
00017
00018
00019
00020 TRequestInfo request_info;
00021 uint32_t nbfileds;
00022 TList cookies;
00023 TList ranges;
00024
00025 uint16_t status;
00026
00027
00028
00029 TString header;
00030
00031 abyss_bool serverDeniesKeepalive;
00032
00033
00034
00035
00036 abyss_bool responseStarted;
00037
00038
00039
00040
00041 struct _TConn * conn;
00042
00043 httpVersion version;
00044
00045 TTable request_headers;
00046 TTable response_headers;
00047
00048 TDate date;
00049
00050 abyss_bool chunkedwrite;
00051 abyss_bool chunkedwritemode;
00052 };
00053
00054
00055 #endif