/* * This file is a part of Winix * and is not publicly distributed * * Copyright (c) 2008-2010, Tomasz Sowa * All rights reserved. * */ #ifndef headerfilecmslucorerequesttypes #define headerfilecmslucorerequesttypes #include #include #include #define WINIX_POSTTABLE_MAXSIZE 20 struct PostFile { std::string filename; // original file name std::string tmp_filename; // file with content (in /tmp) }; // parameters from get name:value struct Param { std::string name; std::string value; }; // some global types used by Request class typedef std::vector GetTable; typedef std::map PostTable; typedef std::map PostFileTable; typedef std::map CookieTable; typedef std::vector ParamTable; #endif