#include <curl.h>
Detailed Description
cURL data.
Definition at line 34 of file curl.h.
Field Documentation
The data. Can be NULL in case we got no data from the url.
Definition at line 37 of file curl.h.
Mutex to protect the data in this structure when accessed across threads.
Definition at line 48 of file curl.h.
Size of the data.
Definition at line 40 of file curl.h.
State of the data:
- 0: still trying to get data (connecting to server, getting data, etc). While this is the state, no members of this structure should be accessed from the outside (at the very least not without mutex locking).
- -1: An error occurred trying to get the data.
- 1: cURL thread finished and the data is ready to be used.
Definition at line 61 of file curl.h.
The thread.
Definition at line 51 of file curl.h.
URL used.
Definition at line 43 of file curl.h.
The documentation for this struct was generated from the following file: