Go to the source code of this file.
Functions | |
| CURLcode | Curl_file (struct connectdata *, bool *done) |
| CURLcode | Curl_file_done (struct connectdata *, CURLcode, bool premature) |
| CURLcode | Curl_file_connect (struct connectdata *) |
| CURLcode Curl_file | ( | struct connectdata * | , | |
| bool * | done | |||
| ) |
Definition at line 316 of file file.c.
References connectdata::bits, asio::buffer(), UrlState::buffer, BUFSIZE, CLIENTWRITE_BODY, CLIENTWRITE_BOTH, Curl_client_write(), Curl_initinfo(), Curl_month, Curl_pgrsSetDownloadCounter(), Curl_pgrsSetDownloadSize(), Curl_pgrsStartNow(), Curl_pgrsTime(), Curl_pgrsUpdate(), Curl_readwrite_init(), Curl_speedcheck(), Curl_tvnow, Curl_wkday, CURLE_ABORTED_BY_CALLBACK, CURLE_BAD_DOWNLOAD_RESUME, CURLE_OK, connectdata::data, failf, FALSE, FILEPROTO::fd, HandleData::file, file_upload(), FORMAT_OFF_T, HAVE_GMTIME_R, UserDefined::include_header, ConnectBits::no_body, HandleData::proto, asio::read(), SessionHandle::reqdata, HandleData::resume_from, SEEK_SET, SessionHandle::set, ssize_t, SessionHandle::state, struct_stat, TIMER_STARTTRANSFER, TRUE, and UserDefined::upload.
Referenced by CreateConnection().
| CURLcode Curl_file_connect | ( | struct connectdata * | ) |
Definition at line 97 of file file.c.
References calloc, curl_easy_unescape(), Curl_file_done(), CURLE_FILE_COULDNT_READ_FILE, CURLE_OK, CURLE_OUT_OF_MEMORY, connectdata::data, failf, FALSE, FILEPROTO::fd, HandleData::file, free, FILEPROTO::freepath, NULL, O_BINARY, FILEPROTO::path, HandleData::path, HandleData::proto, SessionHandle::reqdata, SessionHandle::set, and UserDefined::upload.
Referenced by CreateConnection().
| CURLcode Curl_file_done | ( | struct connectdata * | , | |
| CURLcode | , | |||
| bool | premature | |||
| ) |
Definition at line 169 of file file.c.
References asio::detail::socket_ops::close(), Curl_safefree(), CURLE_OK, connectdata::data, FILEPROTO::fd, HandleData::file, FILEPROTO::freepath, HandleData::proto, and SessionHandle::reqdata.
Referenced by CreateConnection(), and Curl_file_connect().
1.5.6