![]() |
![]()
| ![]() |
![]()
NAMECURLOPT_SEEKDATA - pointer passed to the seek callback SYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SEEKDATA, void *pointer); DESCRIPTIONData pointer to pass to the seek callback function. If you use the CURLOPT_SEEKFUNCTION(3) option, this is the pointer you get as input. DEFAULTIf you do not set this, NULL is passed to the callback. PROTOCOLSThis functionality affects ftp, http and sftp EXAMPLE#include <unistd.h> /* for lseek() */ struct data { AVAILABILITYAdded in curl 7.18.0 RETURN VALUESEE ALSOCURLOPT_DEBUGFUNCTION(3), CURLOPT_IOCTLFUNCTION(3), CURLOPT_SEEKFUNCTION(3), CURLOPT_STDERR(3)
|