Minetest  5.4.0
CurlHandlePool Class Reference
+ Collaboration diagram for CurlHandlePool:

Public Member Functions

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

Private Attributes

std::list< CURL * > handles
 

Constructor & Destructor Documentation

◆ CurlHandlePool()

CurlHandlePool::CurlHandlePool ( )
default

◆ ~CurlHandlePool()

CurlHandlePool::~CurlHandlePool ( )
inline

References handles.

Member Function Documentation

◆ alloc()

CURL* CurlHandlePool::alloc ( )
inline

References errorstream, and 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::list<CURL*> CurlHandlePool::handles
private

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


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