CURLOPT_DEBUGDATA man page

CURLOPT_DEBUGDATA ā€” custom pointer for debug callback

Synopsis

#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

NULL

Protocols

All

Example

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

Availability

Always

Return Value

Returns CURLE_OK

See Also

CURLOPT_STDERR(3), CURLOPT_DEBUGFUNCTION(3),

Referenced By

curl_easy_setopt(3), CURLOPT_DEBUGFUNCTION(3).

February 03, 2016 libcurl 7.55.1 curl_easy_setopt options