Lines Matching refs:curls
88 CURL *curls = NULL; in test() local
98 easy_init(curls); in test()
99 st.easy = curls; /* to allow callbacks access */ in test()
101 easy_setopt(curls, CURLOPT_URL, URL); in test()
102 easy_setopt(curls, CURLOPT_WRITEFUNCTION, write_callback); in test()
103 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
104 easy_setopt(curls, CURLOPT_HEADERFUNCTION, header_callback); in test()
105 easy_setopt(curls, CURLOPT_HEADERDATA, &st); in test()
107 easy_setopt(curls, CURLOPT_XFERINFOFUNCTION, please_continue); in test()
108 easy_setopt(curls, CURLOPT_XFERINFODATA, &st); in test()
109 easy_setopt(curls, CURLOPT_NOPROGRESS, 0L); in test()
113 test_setopt(curls, CURLOPT_DEBUGDATA, &libtest_debug_config); in test()
114 easy_setopt(curls, CURLOPT_DEBUGFUNCTION, libtest_debug_cb); in test()
115 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
117 res = curl_easy_perform(curls); in test()
121 curl_easy_cleanup(curls); in test()