![]() |
![]()
| ![]() |
![]()
NAMECURLOPT_DEBUGDATA - pointer passed to the debug callback SYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DEBUGDATA, void *pointer); DESCRIPTIONPass a pointer to whatever you want passed in to your CURLOPT_DEBUGFUNCTION(3) in the last void * argument. This pointer is not used by libcurl, it is only passed to the callback. DEFAULTNULL PROTOCOLSThis functionality affects all supported protocols EXAMPLEstruct data { AVAILABILITYAdded in curl 7.9.6 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 ALSOCURLOPT_DEBUGFUNCTION(3), CURLOPT_STDERR(3)
|