|
ELinks 0.19.1
|
#include <download.h>

Public Member Functions | |
| LIST_HEAD_EL (struct file_download) | |
Data Fields | |
| struct elinks_object | object |
| struct uri * | uri |
| char * | file |
| char * | external_handler |
| struct session * | ses |
| struct terminal * | term |
| The terminal in which message boxes about the download should be displayed. | |
| time_t | remotetime |
| off_t | seek |
| int | handle |
| int | redirect_cnt |
| int | notify |
| struct download | download |
| char * | inpext |
| input filename extension | |
| char * | outext |
| output filename extension | |
| unsigned int | delete_:1 |
| Should the file be deleted when destroying the structure. | |
| unsigned int | stop:1 |
| Should the download be stopped/interrupted when destroying the structure. | |
| unsigned int | block:1 |
| Whether to block the terminal when running the external handler. | |
| unsigned int | dgi:1 |
| unsigned int | copiousoutput:1 |
| Mailcap entry with copiousoutput. | |
| unsigned int | x_htmloutput:1 |
| struct dialog_data * | dlg_data |
| The current dialog for this download. | |
| struct listbox_item * | box_item |
| file_download::LIST_HEAD_EL | ( | struct file_download | ) |
| unsigned int file_download::block |
Whether to block the terminal when running the external handler.
| struct listbox_item* file_download::box_item |
| unsigned int file_download::copiousoutput |
Mailcap entry with copiousoutput.
| unsigned int file_download::delete_ |
Should the file be deleted when destroying the structure.
| unsigned int file_download::dgi |
| struct dialog_data* file_download::dlg_data |
The current dialog for this download.
Can be NULL.
| struct download file_download::download |
| char* file_download::external_handler |
| char* file_download::file |
| int file_download::handle |
| char* file_download::inpext |
input filename extension
| int file_download::notify |
| struct elinks_object file_download::object |
| char* file_download::outext |
output filename extension
| int file_download::redirect_cnt |
| time_t file_download::remotetime |
| off_t file_download::seek |
| struct session* file_download::ses |
| unsigned int file_download::stop |
Should the download be stopped/interrupted when destroying the structure.
| struct terminal* file_download::term |
The terminal in which message boxes about the download should be displayed.
If this terminal is closed, then detach_downloads_from_terminal() changes the pointer to NULL, and get_default_terminal() will be used if a terminal is needed later. However, if the download has an external handler, then detach_downloads_from_terminal() aborts it right away; external handlers always run in the original terminal, if anywhere.
| struct uri* file_download::uri |
| unsigned int file_download::x_htmloutput |