Lines Matching defs:num
47 static int init(int num, CURLM *cm, const char* url, const char* userpwd,
52 res_easy_init(eh[num]);
56 res_easy_setopt(eh[num], CURLOPT_URL, url);
60 res_easy_setopt(eh[num], CURLOPT_PROXY, PROXY);
64 res_easy_setopt(eh[num], CURLOPT_PROXYUSERPWD, userpwd);
68 res_easy_setopt(eh[num], CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY);
72 res_easy_setopt(eh[num], CURLOPT_VERBOSE, 1L);
76 res_easy_setopt(eh[num], CURLOPT_HEADER, 1L);
80 res_easy_setopt(eh[num], CURLOPT_HTTPHEADER, headers); /* custom Host: */
84 res_multi_add_handle(cm, eh[num]);
92 curl_easy_cleanup(eh[num]);
93 eh[num] = NULL;
98 static int loop(int num, CURLM *cm, const char* url, const char* userpwd,
108 res = init(num, cm, url, userpwd, headers);