MPD 0.20.6

- Main Page
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions
CurlGlobal Class Referencefinal

Manager for the global CURLM object. More...

`#include <Global.hxx>`

Inheritance diagram for CurlGlobal:
[legend]
Collaboration diagram for CurlGlobal:
[legend]

## Public Member Functions
| CurlGlobal (EventLoop &_loop)
void | Add (CURL *easy, CurlRequest &request)
void | Remove (CURL *easy)
void | ReadInfo ()
| Check for finished HTTP responses. More...
void | Assign (curl_socket_t fd, CurlSocket &cs)
void | SocketAction (curl_socket_t fd, int ev_bitmask)
void | InvalidateSockets ()
void | ResumeSockets ()
| This is a kludge to allow pausing/resuming a stream with libcurl < 7.32.0. More...

## Detailed Description

Manager for the global CURLM object.

Definition at line 43 of file Global.hxx.

## Constructor & Destructor Documentation

CurlGlobal::CurlGlobal | ( | EventLoop & | _loop | ) |
| explicit

## Member Function Documentation

void CurlGlobal::Add | ( | CURL * | easy,
|  | CurlRequest & | request
| ) |  |

void CurlGlobal::Assign | ( | curl_socket_t | fd,
|  | CurlSocket & | cs
| ) |  |
| inline

Definition at line 61 of file Global.hxx.

void CurlGlobal::InvalidateSockets | ( |  | ) |
| inline

Definition at line 67 of file Global.hxx.

void CurlGlobal::ReadInfo | ( |  | ) |

Check for finished HTTP responses.

Runs in the I/O thread. The caller must not hold locks.

void CurlGlobal::Remove | ( | CURL * | easy | ) |

void CurlGlobal::ResumeSockets | ( |  | ) |
| inline

This is a kludge to allow pausing/resuming a stream with libcurl < 7.32.0.

Read the curl_easy_pause manpage for more information.

Definition at line 76 of file Global.hxx.

void CurlGlobal::SocketAction | ( | curl_socket_t | fd,
|  | int | ev_bitmask
| ) |  |

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

- lib/curl/Global.hxx