Implementation of set_fd method.
| 109 | |
| 110 | // Implementation of set_fd method. |
| 111 | void curl_multi::set_descriptors(fd_set *read, fd_set *write, fd_set *exec, int *max_fd) { |
| 112 | const CURLMcode code = curl_multi_fdset(this->curl.get(),read,write,exec,max_fd); |
| 113 | if (code != CURLM_OK) { |
| 114 | throw curl_multi_exception(code,__FUNCTION__); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | // Implementation of wait method. |
| 119 | void curl_multi::wait(struct curl_waitfd extra_fds[], const unsigned int extra_nfds, const int timeout_ms, int *numfds) { |
nothing calls this directly
no test coverage detected