Home
last modified time | relevance | path

Searched refs:mcurl (Results 1 – 5 of 5) sorted by relevance

/curl/docs/examples/
H A Dimap-multi.c42 CURLM *mcurl; in main() local
51 mcurl = curl_multi_init(); in main()
52 if(!mcurl) in main()
63 curl_multi_add_handle(mcurl, curl); in main()
66 CURLMcode mc = curl_multi_perform(mcurl, &still_running); in main()
70 mc = curl_multi_poll(mcurl, NULL, 0, 1000, NULL); in main()
77 curl_multi_remove_handle(mcurl, curl); in main()
78 curl_multi_cleanup(mcurl); in main()
H A Dpop3-multi.c42 CURLM *mcurl; in main() local
51 mcurl = curl_multi_init(); in main()
52 if(!mcurl) in main()
63 curl_multi_add_handle(mcurl, curl); in main()
66 CURLMcode mc = curl_multi_perform(mcurl, &still_running); in main()
70 mc = curl_multi_poll(mcurl, NULL, 0, 1000, NULL); in main()
78 curl_multi_remove_handle(mcurl, curl); in main()
79 curl_multi_cleanup(mcurl); in main()
H A Dsmtp-multi.c88 CURLM *mcurl; in main() local
99 mcurl = curl_multi_init(); in main()
100 if(!mcurl) in main()
129 curl_multi_add_handle(mcurl, curl); in main()
132 CURLMcode mc = curl_multi_perform(mcurl, &still_running); in main()
136 mc = curl_multi_poll(mcurl, NULL, 0, 1000, NULL); in main()
147 curl_multi_remove_handle(mcurl, curl); in main()
148 curl_multi_cleanup(mcurl); in main()
/curl/tests/libtest/
H A Dlib1507.c54 CURLM *mcurl = NULL; in test() local
63 multi_init(mcurl); in test()
80 multi_add_handle(mcurl, curl); in test()
85 curl_multi_perform(mcurl, &still_running); in test()
106 curl_multi_timeout(mcurl, &curl_timeo); in test()
116 curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); in test()
138 curl_multi_perform(mcurl, &still_running); in test()
146 curl_multi_remove_handle(mcurl, curl); in test()
147 curl_multi_cleanup(mcurl); in test()
H A Dlib677.c35 CURLM *mcurl; in test() local
45 multi_init(mcurl); in test()
51 if(curl_multi_add_handle(mcurl, curl)) in test()
57 multi_perform(mcurl, &mrun); in test()
60 struct CURLMsg *m = curl_multi_info_read(mcurl, &i); in test()
78 curl_multi_wait(mcurl, &waitfd, sock == CURL_SOCKET_BAD ? 0 : 1, 50, in test()
130 curl_multi_remove_handle(mcurl, curl); in test()
133 curl_multi_cleanup(mcurl); in test()

Completed in 12 milliseconds