| 1 |
|
| 2 |
|
| 3 |
const char *curl_url_strerror(CURLUcode); |
| 4 |
#define CURLINFO_EFFECTIVE_METHOD CURLINFO_STRING + 58 |
| 5 |
#define CURL_HTTP_VERSION_3 30 |
| 6 |
#define CURLMOPT_MAX_CONCURRENT_STREAMS 16 |
| 7 |
#define HAS_CURL_PARSER_STRERROR 1 |
| 8 |
|
| 9 |
#ifndef CURLINC_OPTIONS_H |
| 10 |
#define CURLINC_OPTIONS_H |
| 11 |
typedef enum { |
| 12 |
CURLOT_LONG, |
| 13 |
CURLOT_VALUES, |
| 14 |
CURLOT_OFF_T, |
| 15 |
CURLOT_OBJECT, |
| 16 |
CURLOT_STRING, |
| 17 |
CURLOT_SLIST, |
| 18 |
CURLOT_CBPTR, |
| 19 |
CURLOT_BLOB, |
| 20 |
CURLOT_FUNCTION |
| 21 |
} curl_easytype; |
| 22 |
|
| 23 |
#define CURLOT_FLAG_ALIAS (1<<0) |
| 24 |
struct curl_easyoption { |
| 25 |
const char *name; |
| 26 |
CURLoption id; |
| 27 |
curl_easytype type; |
| 28 |
unsigned int flags; |
| 29 |
}; |
| 30 |
|
| 31 |
CURL_EXTERN const struct curl_easyoption * |
| 32 |
curl_easy_option_by_name(const char *name); |
| 33 |
|
| 34 |
CURL_EXTERN const struct curl_easyoption * |
| 35 |
curl_easy_option_by_id(CURLoption id); |
| 36 |
|
| 37 |
CURL_EXTERN const struct curl_easyoption * |
| 38 |
curl_easy_option_next(const struct curl_easyoption *prev); |
| 39 |
|
| 40 |
#ifdef __cplusplus |
| 41 |
#endif |
| 42 |
#endif |