|
ELinks 0.19.1
|


Data Structures | |
| struct | download |
| struct | type_query |
| The user has navigated to a resource that ELinks does not display automatically because of its MIME type, and ELinks is asking what to do. More... | |
| struct | file_download |
| struct | exec_dgi |
Typedefs | |
| typedef void | download_callback_T(struct download *, void *) |
| typedef unsigned char | download_flags_T |
Enumerations | |
| enum | download_flags { DOWNLOAD_RESUME_DISABLED = 0 , DOWNLOAD_RESUME_ALLOWED = 1 , DOWNLOAD_RESUME_SELECTED = 2 , DOWNLOAD_EXTERNAL = 4 , DOWNLOAD_OVERWRITE = 8 } |
| Flags controlling how to download a file. More... | |
Functions | |
| static int | is_in_downloads_list (struct file_download *file_download) |
| int | download_is_progressing (struct download *download) |
| int | are_there_downloads (void) |
| void | start_download (void *, char *) |
| void | resume_download (void *, char *) |
| void | create_download_file (struct terminal *, char *, char **, download_flags_T, cdf_callback_T *, void *) |
| void | abort_all_downloads (void) |
| void | destroy_downloads (struct session *) |
| void | detach_downloads_from_terminal (struct terminal *) |
| int | setup_download_handler (struct session *, struct download *, struct cache_entry *, int) |
| void | abort_download (struct file_download *file_download) |
| void | done_type_query (struct type_query *type_query) |
| void | tp_display (struct type_query *type_query) |
| void | tp_save (struct type_query *type_query) |
| void | tp_cancel (void *data) |
| struct file_download * | init_file_download (struct uri *uri, struct session *ses, char *file, int fd) |
| void | clear_uri_tempfiles (void) |
Variables | |
| struct file_download list | downloads |
| Stack of all running downloads. | |
| typedef void download_callback_T(struct download *, void *) |
| typedef unsigned char download_flags_T |
| enum download_flags |
Flags controlling how to download a file.
This is a bit mask. Unrecognized bits should be preserved and ignored.
| Enumerator | |
|---|---|
| DOWNLOAD_RESUME_DISABLED | Downloading cannot be resumed; do not offer such an option to the user. All bits clear. |
| DOWNLOAD_RESUME_ALLOWED | Downloading can be resumed. This is the usual value. |
| DOWNLOAD_RESUME_SELECTED | The user wants to resume downloading. This must not occur without DOWNLOAD_RESUME_ALLOWED. |
| DOWNLOAD_EXTERNAL | The file will be opened in an external handler. |
| DOWNLOAD_OVERWRITE | File overwriting is allowed. This is for temp names, since the file is created by the same function that chooses its name. |
| void abort_all_downloads | ( | void | ) |
| void abort_download | ( | struct file_download * | file_download | ) |
| int are_there_downloads | ( | void | ) |
| void clear_uri_tempfiles | ( | void | ) |
|
| void destroy_downloads | ( | struct session * | ses | ) |
| void detach_downloads_from_terminal | ( | struct terminal * | term | ) |
|
| int download_is_progressing | ( | struct download * | download | ) |
| struct file_download * init_file_download | ( | struct uri * | uri, |
| struct session * | ses, | ||
| char * | file, | ||
| int | fd ) |
|
inlinestatic |
|
|
|
|
|
|
|
extern |
Stack of all running downloads.