DOKK / manpages / debian 10 / libcurl4-doc / CURLOPT_DEBUGDATA.3.en
CURLOPT_DEBUGDATA(3) curl_easy_setopt options CURLOPT_DEBUGDATA(3)

CURLOPT_DEBUGDATA - custom pointer for debug callback

#include <curl/curl.h>

CURLcode curl_easy_setopt(CURL *handle, CURLOPT_DEBUGDATA, void *pointer);

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.

NULL

All

https://curl.haxx.se/libcurl/c/debug.html

Always

Returns CURLE_OK

CURLOPT_STDERR(3), CURLOPT_DEBUGFUNCTION(3),

February 3, 2016 libcurl 7.64.0