MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / SetOption

Function SetOption

libi2pd/Config.h:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 */
108 template<typename T>
109 bool SetOption(const char *name, const T& value)
110 {
111 if (!m_Options.count(name))
112 return false;
113 m_Options.at(name).value() = value;
114 notify(m_Options);
115 return true;
116 }
117
118 /**
119 * @brief Check is value explicitly given or default

Callers 2

StartMethod · 0.85
InitAddressFromIfaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected