37 lines
759 B
C++
Executable File
37 lines
759 B
C++
Executable File
/*
|
|
* This file is a part of CMSLU -- Content Management System like Unix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2008-2009, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef headerfilecmslucorerequesttypes
|
|
#define headerfilecmslucorerequesttypes
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
|
|
#define CMSLU_POSTTABLE_MAXSIZE 20
|
|
|
|
|
|
struct PostFile
|
|
{
|
|
std::string filename; // original file name
|
|
std::string tmp_filename; // file with content (in /tmp)
|
|
};
|
|
|
|
// some global types used by Request class
|
|
typedef std::vector<std::string> GetTable;
|
|
typedef std::map<std::string, std::string> PostTable;
|
|
typedef std::map<std::string, PostFile> PostFileTable;
|
|
typedef std::map<std::string, std::string> CookieTable;
|
|
|
|
|
|
|
|
|
|
#endif
|