www.LinuxHowtos.org
CURLOPT_DEBUGDATA
Section: curl_easy_setopt options (3)Updated: February 03, 2016
Index Return to Main Contents
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.haxx.se/libcurl/c/debug.htmlAVAILABILITY
AlwaysRETURN VALUE
Returns CURLE_OKSEE ALSO
CURLOPT_STDERR(3), CURLOPT_DEBUGFUNCTION(3),