1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #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
|