1curl_easy_option_by_name(3)     libcurl Manual     curl_easy_option_by_name(3)
2
3
4

NAME

6       curl_easy_option_by_name - find an easy setopt option by name
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       const struct curl_easyoption *curl_easy_option_by_name(const char *name);
12

DESCRIPTION

14       Given  a  name,  this function returns a pointer to the curl_easyoption
15       struct, holding information about the curl_easy_setopt(3) option  using
16       that  name.  The name should be specified without the "CURLOPT_" prefix
17       and the name comparison is made case insensitive.
18
19       If libcurl has no option with the given  name,  this  function  returns
20       NULL.
21

AVAILABILITY

23       This function was added in libcurl 7.73.0
24

RETURN VALUE

26       A pointer to the curl_easyoption struct for the option or NULL.
27

SEE ALSO

29       curl_easy_option_next(3),curl_easy_option_by_id(3),       curl_easy_se‐
30       topt(3),
31
32
33
34libcurl 7.79.1                 November 04, 2020   curl_easy_option_by_name(3)
Impressum