tunnel options for SOCKS proxy

This commit is contained in:
orignal 2016-11-03 15:28:33 -04:00
parent 4b983300fe
commit 0305e4cf8a
5 changed files with 48 additions and 20 deletions

View file

@ -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