Lines Matching refs:num
51 static CURLcode init(int num, CURLM *cm, const char *url, const char *userpwd, in init() argument
56 res_easy_init(testeh[num]); in init()
60 res_easy_setopt(testeh[num], CURLOPT_URL, url); in init()
64 res_easy_setopt(testeh[num], CURLOPT_PROXY, PROXY); in init()
68 res_easy_setopt(testeh[num], CURLOPT_PROXYUSERPWD, userpwd); in init()
72 res_easy_setopt(testeh[num], CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY); in init()
76 res_easy_setopt(testeh[num], CURLOPT_VERBOSE, 1L); in init()
80 res_easy_setopt(testeh[num], CURLOPT_HEADER, 1L); in init()
84 res_easy_setopt(testeh[num], CURLOPT_HTTPHEADER, headers); /* custom Host: */ in init()
88 res_multi_add_handle(cm, testeh[num]); in init()
96 curl_easy_cleanup(testeh[num]); in init()
97 testeh[num] = NULL; in init()
102 static CURLcode loop(int num, CURLM *cm, const char *url, const char *userpwd, in loop() argument
112 res = init(num, cm, url, userpwd, headers); in loop()