* move ReadConfigFile() : i2p::filesystem -> i2p::config * don't export i2p::config::mapArgs outside namespace

This commit is contained in:
hagen 2016-01-18 00:00:00 +00:00
parent 6740ec464c
commit 7565843fbe
3 changed files with 22 additions and 23 deletions

3
util.h
View file

@ -16,10 +16,10 @@ namespace util
{
namespace config
{
extern std::map<std::string, std::string> mapArgs;
void OptionParser(int argc, const char* const argv[]);
int GetArg(const std::string& strArg, int nDefault);
std::string GetArg(const std::string& strArg, const std::string& strDefault);
void ReadConfigFile(boost::filesystem::path path);
}
namespace filesystem
@ -32,7 +32,6 @@ namespace util
boost::filesystem::path GetDefaultDataDir();
boost::filesystem::path GetConfigFile();
boost::filesystem::path GetTunnelsConfigFile();
void ReadConfigFile(std::map<std::string, std::string>& mapSettingsRet);
boost::filesystem::path GetCertificatesDir();
}