curl_share_setopt - Set options for a shared object
CURLSHcode curl_share_setopt(CURLSH *share, CURLSHoption option, parameter);
void lock_function(CURL *handle, curl_lock_data data, curl_lock_access access, void *userptr);
data defines what data libcurl wants to lock, and you must make sure that only one lock is given at any time for each kind of data.
access defines what access type libcurl wants, shared or single.
userptr is the pointer you set with CURLSHOPT_USERDATA.
void unlock_function(CURL *handle, curl_lock_data data, void *userptr);
data defines what data libcurl wants to unlock, and you must make sure that only one lick is given at any time for each kind of data.
userptr is the pointer you set with CURLSHOPT_USERDATA.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |