Query: curlmopt_timerdata
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURLMOPT_TIMERDATA(3) curl_multi_setopt options CURLMOPT_TIMERDATA(3)NAMECURLMOPT_TIMERDATA - custom pointer to pass to timer callbackSYNOPSIS#include <curl/curl.h> CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_TIMERDATA, void *pointer);DESCRIPTIONA data pointer to pass to the timer callback set with the CURLMOPT_TIMERFUNCTION(3) option. This pointer will not be touched by libcurl but will only be passed in to the timer callbacks's userp argument.DEFAULTNULLPROTOCOLSAllEXAMPLETODOAVAILABILITYAdded in 7.16.0RETURN VALUEReturns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.SEE ALSOCURLMOPT_TIMERFUNCTION(3), CURLMOPT_SOCKETFUNCTION(3), libcurl 7.54.0 February 03, 2016 CURLMOPT_TIMERDATA(3)