lib/curl/Global: document ToRequest()

This commit is contained in:
Max Kellermann 2019-08-19 22:00:06 +02:00
parent 2934fc2507
commit 7a0957d713

View File

@ -176,6 +176,10 @@ CurlGlobal::Remove(CurlRequest &r) noexcept
InvalidateSockets();
}
/**
* Find a request by its CURL "easy" handle.
*/
gcc_pure
static CurlRequest *
ToRequest(CURL *easy) noexcept
{