table of contents
other versions
- buster 7.64.0-4+deb10u2
- buster-backports 7.74.0-1.2~bpo10+1
- testing 7.74.0-1.2
- unstable 7.74.0-1.3
CURLOPT_DEBUGDATA(3) | curl_easy_setopt options | CURLOPT_DEBUGDATA(3) |
NAME¶
CURLOPT_DEBUGDATA - custom pointer for debug callbackSYNOPSIS¶
#include <curl/curl.h>CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DEBUGDATA, void *pointer);
DESCRIPTION¶
Pass 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.DEFAULT¶
NULLPROTOCOLS¶
AllEXAMPLE¶
https://curl.se/libcurl/c/debug.htmlAVAILABILITY¶
AlwaysRETURN VALUE¶
Returns CURLE_OKSEE ALSO¶
CURLOPT_STDERR(3), CURLOPT_DEBUGFUNCTION(3),November 4, 2020 | libcurl 7.74.0 |