• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/tmp.bak/include/curl/

Lines Matching refs:option

38  * To add an option that uses the same type as an existing option, you'll just
41 #define curl_easy_setopt(handle, option, value) \
43 __typeof__ (option) _curl_opt = option; \
148 "curl_easy_setopt expects a long argument for this option")
150 "curl_easy_setopt expects a curl_off_t argument for this option")
153 "string (char* or char[]) argument for this option"
156 "curl_easy_setopt expects a curl_write_callback argument for this option")
158 "curl_easy_setopt expects a curl_read_callback argument for this option")
160 "curl_easy_setopt expects a curl_ioctl_callback argument for this option")
162 "curl_easy_setopt expects a curl_sockopt_callback argument for this option")
165 "curl_opensocket_callback argument for this option"
168 "curl_easy_setopt expects a curl_progress_callback argument for this option")
170 "curl_easy_setopt expects a curl_debug_callback argument for this option")
172 "curl_easy_setopt expects a curl_ssl_ctx_callback argument for this option")
174 "curl_easy_setopt expects a curl_conv_callback argument for this option")
176 "curl_easy_setopt expects a curl_seek_callback argument for this option")
179 "private data pointer as argument for this option")
182 "char buffer of CURL_ERROR_SIZE as argument for this option")
184 "curl_easy_setopt expects a FILE* argument for this option")
186 "curl_easy_setopt expects a void* or char* argument for this option")
188 "curl_easy_setopt expects a struct curl_httppost* argument for this option")
190 "curl_easy_setopt expects a struct curl_slist* argument for this option")
192 "curl_easy_setopt expects a CURLSH* argument for this option")
205 /* To add a new option to one of the groups, just add
206 * (option) == CURLOPT_SOMETHING
207 * to the or-expression. If the option takes a long or curl_off_t, you don't
211 /* evaluates to true if option takes a long argument */
212 #define _curl_is_long_option(option) \
213 (0 < (option) && (option) < CURLOPTTYPE_OBJECTPOINT)
215 #define _curl_is_off_t_option(option) \
216 ((option) > CURLOPTTYPE_OFF_T)
218 /* evaluates to true if option takes a char* argument */
219 #define _curl_is_string_option(option) \
220 ((option) == CURLOPT_URL || \
221 (option) == CURLOPT_PROXY || \
222 (option) == CURLOPT_INTERFACE || \
223 (option) == CURLOPT_NETRC_FILE || \
224 (option) == CURLOPT_USERPWD || \
225 (option) == CURLOPT_USERNAME || \
226 (option) == CURLOPT_PASSWORD || \
227 (option) == CURLOPT_PROXYUSERPWD || \
228 (option) == CURLOPT_PROXYUSERNAME || \
229 (option) == CURLOPT_PROXYPASSWORD || \
230 (option) == CURLOPT_NOPROXY || \
231 (option) == CURLOPT_ACCEPT_ENCODING || \
232 (option) == CURLOPT_REFERER || \
233 (option) == CURLOPT_USERAGENT || \
234 (option) == CURLOPT_COOKIE || \
235 (option) == CURLOPT_COOKIEFILE || \
236 (option) == CURLOPT_COOKIEJAR || \
237 (option) == CURLOPT_COOKIELIST || \
238 (option) == CURLOPT_FTPPORT || \
239 (option) == CURLOPT_FTP_ALTERNATIVE_TO_USER || \
240 (option) == CURLOPT_FTP_ACCOUNT || \
241 (option) == CURLOPT_RANGE || \
242 (option) == CURLOPT_CUSTOMREQUEST || \
243 (option) == CURLOPT_SSLCERT || \
244 (option) == CURLOPT_SSLCERTTYPE || \
245 (option) == CURLOPT_SSLKEY || \
246 (option) == CURLOPT_SSLKEYTYPE || \
247 (option) == CURLOPT_KEYPASSWD || \
248 (option) == CURLOPT_SSLENGINE || \
249 (option) == CURLOPT_CAINFO || \
250 (option) == CURLOPT_CAPATH || \
251 (option) == CURLOPT_RANDOM_FILE || \
252 (option) == CURLOPT_EGDSOCKET || \
253 (option) == CURLOPT_SSL_CIPHER_LIST || \
254 (option) == CURLOPT_KRBLEVEL || \
255 (option) == CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 || \
256 (option) == CURLOPT_SSH_PUBLIC_KEYFILE || \
257 (option) == CURLOPT_SSH_PRIVATE_KEYFILE || \
258 (option) == CURLOPT_CRLFILE || \
259 (option) == CURLOPT_ISSUERCERT || \
260 (option) == CURLOPT_SOCKS5_GSSAPI_SERVICE || \
261 (option) == CURLOPT_SSH_KNOWNHOSTS || \
262 (option) == CURLOPT_MAIL_FROM || \
263 (option) == CURLOPT_RTSP_SESSION_ID || \
264 (option) == CURLOPT_RTSP_STREAM_URI || \
265 (option) == CURLOPT_RTSP_TRANSPORT || \
268 /* evaluates to true if option takes a curl_write_callback argument */
269 #define _curl_is_write_cb_option(option) \
270 ((option) == CURLOPT_HEADERFUNCTION || \
271 (option) == CURLOPT_WRITEFUNCTION)
273 /* evaluates to true if option takes a curl_conv_callback argument */
274 #define _curl_is_conv_cb_option(option) \
275 ((option) == CURLOPT_CONV_TO_NETWORK_FUNCTION || \
276 (option) == CURLOPT_CONV_FROM_NETWORK_FUNCTION || \
277 (option) == CURLOPT_CONV_FROM_UTF8_FUNCTION)
279 /* evaluates to true if option takes a data argument to pass to a callback */
280 #define _curl_is_cb_data_option(option) \
281 ((option) == CURLOPT_WRITEDATA || \
282 (option) == CURLOPT_READDATA || \
283 (option) == CURLOPT_IOCTLDATA || \
284 (option) == CURLOPT_SOCKOPTDATA || \
285 (option) == CURLOPT_OPENSOCKETDATA || \
286 (option) == CURLOPT_PROGRESSDATA || \
287 (option) == CURLOPT_WRITEHEADER || \
288 (option) == CURLOPT_DEBUGDATA || \
289 (option) == CURLOPT_SSL_CTX_DATA || \
290 (option) == CURLOPT_SEEKDATA || \
291 (option) == CURLOPT_PRIVATE || \
292 (option) == CURLOPT_SSH_KEYDATA || \
293 (option) == CURLOPT_INTERLEAVEDATA || \
294 (option) == CURLOPT_CHUNK_DATA || \
295 (option) == CURLOPT_FNMATCH_DATA || \
298 /* evaluates to true if option takes a POST data argument (void* or char*) */
299 #define _curl_is_postfields_option(option) \
300 ((option) == CURLOPT_POSTFIELDS || \
301 (option) == CURLOPT_COPYPOSTFIELDS || \
304 /* evaluates to true if option takes a struct curl_slist * argument */
305 #define _curl_is_slist_option(option) \
306 ((option) == CURLOPT_HTTPHEADER || \
307 (option) == CURLOPT_HTTP200ALIASES || \
308 (option) == CURLOPT_QUOTE || \
309 (option) == CURLOPT_POSTQUOTE || \
310 (option) == CURLOPT_PREQUOTE || \
311 (option) == CURLOPT_TELNETOPTIONS || \
312 (option) == CURLOPT_MAIL_RCPT || \