Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
CurlHandlePool Class Reference
+ Collaboration diagram for CurlHandlePool:

Public Member Functions

 CurlHandlePool ()=default
 
 ~CurlHandlePool ()
 
CURL * alloc ()
 
void free (CURL *handle)
 

Private Attributes

std::vector< CURL * > handles
 

Constructor & Destructor Documentation

◆ CurlHandlePool()

CurlHandlePool::CurlHandlePool ( )
default

◆ ~CurlHandlePool()

CurlHandlePool::~CurlHandlePool ( )
inline

References handles.

Member Function Documentation

◆ alloc()

CURL * CurlHandlePool::alloc ( )
inline

References handles.

Referenced by HTTPFetchOngoing::HTTPFetchOngoing().

+ Here is the caller graph for this function:

◆ free()

void CurlHandlePool::free ( CURL * handle)
inline

References handles.

Referenced by HTTPFetchOngoing::~HTTPFetchOngoing().

+ Here is the caller graph for this function:

Member Data Documentation

◆ handles

std::vector<CURL*> CurlHandlePool::handles
private

Referenced by ~CurlHandlePool(), alloc(), and free().


The documentation for this class was generated from the following file: