00001 #ifndef DV_CGIDATA_H 00002 #define DV_CGIDATA_H 00003 00004 #include <stdexcept> 00005 #include <string> 00006 00007 #include <dvcgi/cgierror.h> 00008 00009 /*! \file 00010 The Dv::Cgi::cgidata() function retrieves the 00011 data stream passed to a cgi program. 00012 */ 00013 namespace Dv { namespace Cgi { 00014 00015 /** 00016 * Fill the parameter string with the data stream passed to the cgi program. 00017 * Further processing can be done with Dv::Cgi::formdata. 00018 * 00019 * \param data a string that will be filled with the data stream. 00020 * \exception CgiError is thrown when something goes wrong, e.g. 00021 * illegal protocol etc. 00022 * \see Dv::Cgi::formdata 00023 */ 00024 void cgidata(std::string& data) throw (CgiError); 00025 00026 }} 00027 #endif
dvcgi-0.5.14 | [22 January, 2006] |