1 #ifndef ots_CgiDataUtilities_h
2 #define ots_CgiDataUtilities_h
4 #pragma GCC diagnostic push
5 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
6 #include <xgi/Method.h>
7 #pragma GCC diagnostic pop
18 static std::string getOrPostData(cgicc::Cgicc& cgi,
const std::string& needle);
19 static std::string postData(cgicc::Cgicc& cgi,
const std::string& needle);
20 static std::string getData(cgicc::Cgicc& cgi,
const std::string& needle);
22 static int getOrPostDataAsInt(cgicc::Cgicc& cgi,
const std::string& needle);
23 static int postDataAsInt(cgicc::Cgicc& cgi,
const std::string& needle);
24 static int getDataAsInt(cgicc::Cgicc& cgi,
const std::string& needle);
32 #endif // ots_CgiDataUtilities_h