Lines Matching defs:hnd
102 CURL *hnd;
107 easy_init(hnd);
108 easy_setopt(hnd, CURLOPT_URL, URL);
109 easy_setopt(hnd, CURLOPT_HSTSREADFUNCTION, hstsread);
110 easy_setopt(hnd, CURLOPT_HSTSREADDATA, &st);
111 easy_setopt(hnd, CURLOPT_HSTSWRITEFUNCTION, hstswrite);
112 easy_setopt(hnd, CURLOPT_HSTSWRITEDATA, &st);
113 easy_setopt(hnd, CURLOPT_HSTS_CTRL, CURLHSTS_ENABLE);
114 res = curl_easy_perform(hnd);
115 curl_easy_cleanup(hnd);
116 hnd = NULL;
120 easy_init(hnd);
121 easy_setopt(hnd, CURLOPT_URL, URL);
122 easy_setopt(hnd, CURLOPT_HSTSREADFUNCTION, hstsreadfail);
123 easy_setopt(hnd, CURLOPT_HSTSREADDATA, &st);
124 easy_setopt(hnd, CURLOPT_HSTSWRITEFUNCTION, hstswrite);
125 easy_setopt(hnd, CURLOPT_HSTSWRITEDATA, &st);
126 easy_setopt(hnd, CURLOPT_HSTS_CTRL, CURLHSTS_ENABLE);
127 res = curl_easy_perform(hnd);
128 curl_easy_cleanup(hnd);
129 hnd = NULL;
133 curl_easy_cleanup(hnd);