Changeset View
Changeset View
Standalone View
Standalone View
src/i2p.h
Show First 20 Lines • Show All 149 Lines • ▼ Show 20 Lines | private: | ||||
}; | }; | ||||
/** | /** | ||||
* Log a message in the `BCLog::I2P` category. | * Log a message in the `BCLog::I2P` category. | ||||
* @param[in] fmt printf(3)-like format string. | * @param[in] fmt printf(3)-like format string. | ||||
* @param[in] args printf(3)-like arguments that correspond to `fmt`. | * @param[in] args printf(3)-like arguments that correspond to `fmt`. | ||||
*/ | */ | ||||
template <typename... Args> | template <typename... Args> | ||||
void Log(const std::string &fmt, const Args &... args) const; | void Log(const std::string &fmt, const Args &...args) const; | ||||
/** | /** | ||||
* Send request and get a reply from the SAM proxy. | * Send request and get a reply from the SAM proxy. | ||||
* @param[in] sock A socket that is connected to the SAM proxy. | * @param[in] sock A socket that is connected to the SAM proxy. | ||||
* @param[in] request Raw request to send, a newline terminator is | * @param[in] request Raw request to send, a newline terminator is | ||||
* appended to it. | * appended to it. | ||||
* @param[in] check_result_ok If true then after receiving the reply a | * @param[in] check_result_ok If true then after receiving the reply a | ||||
* check is made whether it contains "RESULT=OK" and an exception is | * check is made whether it contains "RESULT=OK" and an exception is | ||||
▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines |