![]() |
![]()
| ![]() |
![]()
NAMECURLOPT_PREREQDATA - pointer passed to the pre-request callback SYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PREREQDATA, void *pointer); DESCRIPTIONPass a pointer that is untouched by libcurl and passed as the first argument in the pre-request callback set with CURLOPT_PREREQFUNCTION(3). DEFAULTNULL PROTOCOLSThis functionality affects all supported protocols EXAMPLEstruct priv { AVAILABILITYAdded in curl 7.80.0 RETURN VALUEcurl_easy_setopt(3) returns a CURLcode indicating success or error. CURLE_OK (0) means everything was OK, non-zero means an error occurred, see libcurl-errors(3). SEE ALSOCURLINFO_PRIMARY_IP(3), CURLINFO_PRIMARY_PORT(3), CURLOPT_PREREQFUNCTION(3)
|