mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-06-07 00:51:41 +00:00
Rename envy to cgi_environment_vars.
This commit is contained in:
parent
81cf36de22
commit
2b54349e0e
4 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ add_executable(${PROJECT_NAME}
|
||||||
response.cpp
|
response.cpp
|
||||||
submit_paste_response.cpp
|
submit_paste_response.cpp
|
||||||
get_env.cpp
|
get_env.cpp
|
||||||
envy.cpp
|
cgi_environment_vars.cpp
|
||||||
cgi_env.cpp
|
cgi_env.cpp
|
||||||
num_to_token.cpp
|
num_to_token.cpp
|
||||||
cgi_post.cpp
|
cgi_post.cpp
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "cgi_env.hpp"
|
#include "cgi_env.hpp"
|
||||||
#include "envy.hpp"
|
#include "cgi_environment_vars.hpp"
|
||||||
#include "duckhandy/lexical_cast.hpp"
|
#include "duckhandy/lexical_cast.hpp"
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <ciso646>
|
#include <ciso646>
|
||||||
|
@ -65,7 +65,7 @@ namespace cgi {
|
||||||
} //unnamed namespace
|
} //unnamed namespace
|
||||||
|
|
||||||
Env::Env() :
|
Env::Env() :
|
||||||
m_cgi_env(get_cgi_environment_vars())
|
m_cgi_env(cgi_environment_vars())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#include "envy.hpp"
|
#include "cgi_environment_vars.hpp"
|
||||||
#include "get_env.hpp"
|
#include "get_env.hpp"
|
||||||
|
|
||||||
namespace tawashi {
|
namespace tawashi {
|
||||||
std::vector<std::string> get_cgi_environment_vars() {
|
std::vector<std::string> cgi_environment_vars() {
|
||||||
using boost::string_ref;
|
using boost::string_ref;
|
||||||
|
|
||||||
std::vector<std::string> retlist;
|
std::vector<std::string> retlist;
|
|
@ -25,5 +25,5 @@ namespace tawashi {
|
||||||
SERVER_SOFTWARE
|
SERVER_SOFTWARE
|
||||||
);
|
);
|
||||||
|
|
||||||
std::vector<std::string> get_cgi_environment_vars();
|
std::vector<std::string> cgi_environment_vars();
|
||||||
} //namespace tawashi
|
} //namespace tawashi
|
Loading…
Add table
Reference in a new issue