|
NAMEcurl_easy_option_next - iterate over easy setopt options SYNOPSIS#include <curl/curl.h> const struct curl_easyoption * curl_easy_option_next(const struct curl_easyoption *prev); DESCRIPTIONThis function returns a pointer to the first or the next curl_easyoption struct, providing an ability to iterate over all known options for curl_easy_setopt(3) in this instance of libcurl. Pass a NULL argument as prev to get the first option returned, or pass in the current option to get the next one returned. If there is no more option to return, curl_easy_option_next(3) returns NULL. The options returned by this functions are the ones known to this libcurl and information about what argument type they want. If the CURLOT_FLAG_ALIAS bit is set in the flags field, it means the name is provided for backwards compatibility as an alias. structtypedef enum {
PROTOCOLSThis functionality affects all supported protocols EXAMPLEint main(void)
{
AVAILABILITYAdded in curl 7.73.0 RETURN VALUEA pointer to the curl_easyoption struct for the next option or NULL if no more options. SEE ALSOcurl_easy_option_by_id(3), curl_easy_option_by_name(3), curl_easy_setopt(3)
|