1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-08-03 12:50:02 +00:00

New free function to get POST values.

This commit is contained in:
King_DuckZ 2017-04-06 20:12:44 +01:00
parent e9d54c3ff5
commit 6a502df135
3 changed files with 60 additions and 0 deletions

14
src/cgi_post.hpp Normal file
View file

@ -0,0 +1,14 @@
#pragma once
#include <boost/container/flat_map.hpp>
#include <boost/utility/string_ref.hpp>
namespace tawashi {
class CGIEnv;
namespace cgi {
typedef boost::container::flat_map<boost::string_ref, boost::string_ref> PostMapType;
const PostMapType& read_post (const CGIEnv& parEnv);
} //namespace cgi
} //namespace tawashi