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