mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
tunnel options for SOCKS proxy
This commit is contained in:
parent
4b983300fe
commit
0305e4cf8a
5 changed files with 48 additions and 20 deletions
8
Config.h
8
Config.h
|
@ -78,6 +78,12 @@ namespace config {
|
|||
return true;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
bool GetOption(const std::string& name, T& value)
|
||||
{
|
||||
return GetOption (name.c_str (), value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Set value of given parameter
|
||||
* @param name Name of settable parameter
|
||||
|
@ -93,7 +99,7 @@ namespace config {
|
|||
m_Options.at(name).value() = value;
|
||||
notify(m_Options);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Check is value explicitly given or default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue