mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
* move ReadConfigFile() : i2p::filesystem -> i2p::config * don't export i2p::config::mapArgs outside namespace
This commit is contained in:
parent
6740ec464c
commit
7565843fbe
3 changed files with 22 additions and 23 deletions
3
util.h
3
util.h
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue