Searched refs:lockfunc (Results 1 – 2 of 2) sorted by relevance
57 curl_lock_function lockfunc; in curl_share_setopt() local158 lockfunc = va_arg(param, curl_lock_function); in curl_share_setopt()159 share->lockfunc = lockfunc; in curl_share_setopt()188 if(share->lockfunc) in curl_share_cleanup()189 share->lockfunc(NULL, CURL_LOCK_DATA_SHARE, CURL_LOCK_ACCESS_SINGLE, in curl_share_cleanup()235 if(share->lockfunc) /* only call this if set! */ in Curl_share_lock()236 share->lockfunc(data, type, accesstype, share->clientdata); in Curl_share_lock()
45 curl_lock_function lockfunc; member