Go to the documentation of this file.00001 #ifndef _CgiInterface_h
00002 #define _CgiReader_h
00003
00004 #include <string>
00005
00006 #include "xgi/Utils.h"
00007 #include "xgi/Method.h"
00008
00009 #include "cgicc/CgiDefs.h"
00010 #include "cgicc/Cgicc.h"
00011 #include "cgicc/FormEntry.h"
00012 #include "cgicc/HTTPHTMLHeader.h"
00013 #include "cgicc/HTTPRedirectHeader.h"
00014 #include "cgicc/HTMLClasses.h"
00015
00016
00017 class CgiReader
00018 {
00019 protected:
00020
00021 std::string url;
00022
00023 xgi::Input *in;
00024 xgi::Output *out;
00025
00026 public:
00027
00028 CgiReader(xgi::Input *the_in)
00029 {
00030 in = the_in;
00031 }
00032
00033 ~CgiReader(){}
00034
00035 void read_form(std::multimap<std::string, std::string> &form_info);
00036 std::string read_cookie(std::string name);
00037
00038 };
00039
00040
00041 #endif