Home
last modified time | relevance | path

Searched refs:curl_share_setopt (Results 1 - 11 of 11) sorted by relevance

/third_party/curl/docs/examples/
H A Dshared-connection-cache.c55 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_CONNECT); in main()
57 curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); in main()
58 curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); in main()
/third_party/curl/tests/libtest/
H A Dlib1554.c60 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_CONNECT); in test()
61 curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); in test()
62 curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); in test()
H A Dlib586.c163 scode = curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); in test()
167 scode = curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); in test()
171 scode = curl_share_setopt(share, CURLSHOPT_USERDATA, &user); in test()
175 scode = curl_share_setopt(share, CURLSHOPT_SHARE, in test()
180 fprintf(stderr, "curl_share_setopt() failed\n"); in test()
H A Dlib506.c210 scode = curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); in test()
214 scode = curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); in test()
218 scode = curl_share_setopt(share, CURLSHOPT_USERDATA, &user); in test()
222 scode = curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE); in test()
226 scode = curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_DNS); in test()
230 fprintf(stderr, "curl_share_setopt() failed\n"); in test()
H A Dlib1905.c49 curl_share_setopt(sh, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE); in test()
50 curl_share_setopt(sh, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE); in test()
H A Dlib3103.c37 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE); in test()
/third_party/curl/lib/
H A Dshare.c52 #undef curl_share_setopt macro
54 curl_share_setopt(struct Curl_share *share, CURLSHoption option, ...) in curl_share_setopt() function
/third_party/curl/tests/http/clients/
H A Dtls-session-reuse.c234 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_SSL_SESSION); in main()
/third_party/curl/include/curl/
H A Dtypecheck-gcc.h157 #define curl_share_setopt(share,opt,param) curl_share_setopt(share,opt,param) macro
H A Dcurl.h3028 CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *share, CURLSHoption option,
3234 #define curl_share_setopt(share,opt,param) curl_share_setopt(share,opt,param) macro
/third_party/curl/src/
H A Dtool_operate.c2774 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE); in operate()
2775 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_DNS); in operate()
2776 curl_share_setopt(share, CURLSHOPT_SHARE, in operate()
2778 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_CONNECT); in operate()
2779 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_PSL); in operate()
2780 curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_HSTS); in operate()

Completed in 13 milliseconds