MCPcopy Create free account
hub / github.com/JosephP91/curlcpp / set_descriptors

Method set_descriptors

src/curl_multi.cpp:111–116  ·  view source on GitHub ↗

Implementation of set_fd method.

Source from the content-addressed store, hash-verified

109
110// Implementation of set_fd method.
111void 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.
119void curl_multi::wait(struct curl_waitfd extra_fds[], const unsigned int extra_nfds, const int timeout_ms, int *numfds) {

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected