mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
* fix doxygen warnings
This commit is contained in:
parent
289b679e3c
commit
c9836cf0f7
4 changed files with 16 additions and 13 deletions
4
Config.h
4
Config.h
|
@ -68,7 +68,7 @@ namespace config {
|
|||
* @param value Variable where to store option
|
||||
* @return this function returns false if parameter not found
|
||||
*
|
||||
* @example uint16_t port; GetOption("sam.port", port);
|
||||
* Example: uint16_t port; GetOption("sam.port", port);
|
||||
*/
|
||||
template<typename T>
|
||||
bool GetOption(const char *name, T& value) {
|
||||
|
@ -84,7 +84,7 @@ namespace config {
|
|||
* @param value New parameter value
|
||||
* @return true if value set up successful, false otherwise
|
||||
*
|
||||
* @example uint16_t port = 2827; SetOption("bob.port", port);
|
||||
* Example: uint16_t port = 2827; SetOption("bob.port", port);
|
||||
*/
|
||||
template<typename T>
|
||||
bool SetOption(const char *name, const T& value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue