mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-13 14:14:00 +01:00
Set BCLog::LIBEVENT correctly for old libevent versions.
This commit is contained in:
@@ -32,6 +32,10 @@ void InterruptHTTPServer();
|
||||
/** Stop HTTP server */
|
||||
void StopHTTPServer();
|
||||
|
||||
/** Change logging level for libevent. Removes BCLog::LIBEVENT from logCategories if
|
||||
* libevent doesn't support debug logging.*/
|
||||
bool UpdateHTTPServerLogging(bool enable);
|
||||
|
||||
/** Handler for requests to a certain HTTP path */
|
||||
typedef std::function<bool(HTTPRequest* req, const std::string &)> HTTPRequestHandler;
|
||||
/** Register handler for prefix.
|
||||
|
||||
Reference in New Issue
Block a user