ELinks 0.16.1.1
|
Data saved by continue_download() for the continue_download_do() callback. More...
Data Fields | |
struct type_query * | type_query |
char * | real_file |
The name of the local file to which the data will be downloaded. | |
char * | file |
Related Symbols | |
(Note that these are not member symbols.) | |
static void | transform_codw_to_cmdw (struct terminal *term, int fd, struct codw_hop *codw_hop, download_flags_T flags) |
Resume downloading a file, based on information in struct codw_hop. | |
static void | continue_download_do (struct terminal *term, int fd, void *data, download_flags_T flags) |
static void | continue_download (void *data, char *file) |
When asked what to do with a file, the user chose to download it to a local file named file. |
Data saved by continue_download() for the continue_download_do() callback.
|
When asked what to do with a file, the user chose to download it to a local file named file.
Or an external handler was selected, in which case type_query.external_handler is non-NULL and file does not matter because this function will generate a name.
tp_save() passes this function as the std
callback to query_file().
|
continue_download() passes this function as a ::cdf_callback_T to create_download_file().
|
Resume downloading a file, based on information in struct codw_hop.
This function actually starts a new download from the current end of the file, even though a download from the beginning is already in progress at codw_hop->type_query->download. The caller will cancel the preexisting download after this function returns.
char* codw_hop::file |
char* codw_hop::real_file |
The name of the local file to which the data will be downloaded.
This is initially NULL, but its address is given to create_download_file(), which arranges for the pointer to be set before continue_download_do() is called. The string must be freed with mem_free().
struct type_query* codw_hop::type_query |