CURLMOPT_TIMERDATA man page

CURLMOPT_TIMERDATA — custom pointer to pass to timer callback

Synopsis

#include <curl/curl.h>

CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_TIMERDATA, void *pointer);

Description

A 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.

Default

NULL

Protocols

All

Example

TODO

Availability

Added in 7.16.0

Return Value

Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.

See Also

CURLMOPT_TIMERFUNCTION(3), CURLMOPT_SOCKETFUNCTION(3),

Referenced By

CURLMOPT_TIMERFUNCTION(3), curl_multi_setopt(3).

17 Jun 2014 libcurl 7.37.0 curl_multi_setopt options