12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #ifndef CURLINC_OPTIONS_H
- #define CURLINC_OPTIONS_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef enum {
- CURLOT_LONG,
- CURLOT_VALUES,
- CURLOT_OFF_T,
- CURLOT_OBJECT,
- CURLOT_STRING,
- CURLOT_SLIST,
- CURLOT_CBPTR,
- CURLOT_BLOB,
- CURLOT_FUNCTION
- } curl_easytype;
- #define CURLOT_FLAG_ALIAS (1<<0)
- struct curl_easyoption {
- const char *name;
- CURLoption id;
- curl_easytype type;
- unsigned int flags;
- };
- CURL_EXTERN const struct curl_easyoption *
- curl_easy_option_by_name(const char *name);
- CURL_EXTERN const struct curl_easyoption *
- curl_easy_option_by_id(CURLoption id);
- CURL_EXTERN const struct curl_easyoption *
- curl_easy_option_next(const struct curl_easyoption *prev);
- #ifdef __cplusplus
- }
- #endif
- #endif
|