multi: add curl_multi_wait()
authorSara Golemon <sgolemon@fb.com>
Mon, 27 Aug 2012 19:48:55 +0000 (12:48 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 1 Sep 2012 21:10:53 +0000 (23:10 +0200)
commitde24d7bd4c03ea3eeba928edc9ae9e7a826c67c8
tree19f1663d427c4f75c7f201d5841ce1c24d6b005c
parent2f6e1a8cc3f4573b29d48b7bd8177dbbc4c337fd
multi: add curl_multi_wait()

/*
 * Name:     curl_multi_wait()
 *
 * Desc:     Poll on all fds within a CURLM set as well as any
 *           additional fds passed to the function.
 *
 * Returns:  CURLMcode type, general multi error code.
 */
CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle,
                                      struct curl_waitfd extra_fds[],
                                      unsigned int extra_nfds,
                                      int timeout_ms);
include/curl/multi.h
lib/multi.c