Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: provide meta-data about all easy options #5365

Closed
wants to merge 2 commits into from

Commits on Aug 26, 2020

  1. options: API for meta-data about easy options

     const struct curl_easyoption *curl_easy_option_by_name(const char *name);
    
     const struct curl_easyoption *curl_easy_option_by_id (CURLoption id);
    
     const struct curl_easyoption *
     curl_easy_option_next(const struct curl_easyoption *prev);
    
    The purpose is to provide detailed enough information to allow for
    example libcurl bindings to get option information at run-time about
    what easy options that exist and what arguments they expect.
    
    Assisted-by: Jeroen Ooms
    Closes #5365
    bagder committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    23ee05a View commit details
    Browse the repository at this point in the history
  2. configure: added --disable-get-easy-options

    To allow disabling of the curl_easy_option APIs in a build.
    bagder committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    85d51af View commit details
    Browse the repository at this point in the history