NetSurf
Data Structures | Functions | Variables
download.h File Reference
#include "amiga/os3support.h"
Include dependency graph for download.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dlnode
 

Functions

void ami_free_download_list (struct List *dllist)
 
BOOL ami_download_check_overwrite (const char *file, struct Window *win, ULONG size)
 
void ami_download_parse_backmsg (const char *backmsg)
 
nserror gui_window_save_link (struct gui_window *g, struct nsurl *url, const char *title)
 

Variables

struct gui_download_tableamiga_download_table
 

Function Documentation

◆ ami_download_check_overwrite()

BOOL ami_download_check_overwrite ( const char *  file,
struct Window *  win,
ULONG  size 
)

Definition at line 481 of file download.c.

References amiga_warn_user_multi(), ASPrintf(), GetFileSize(), human_friendly_bytesize(), messages_get(), and nsoption_bool.

Referenced by ami_file_save(), gui_download_window_create(), and gui_window_save_link().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ami_download_parse_backmsg()

void ami_download_parse_backmsg ( const char *  backmsg)

Definition at line 520 of file download.c.

Referenced by ami_handle_applib().

Here is the caller graph for this function:

◆ ami_free_download_list()

void ami_free_download_list ( struct List *  dllist)

Definition at line 407 of file download.c.

References GetHead(), GetSucc(), and dlnode::node.

Referenced by gui_window_destroy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gui_window_save_link()

nserror gui_window_save_link ( struct gui_window g,
struct nsurl url,
const char *  title 
)

Definition at line 428 of file download.c.

References ami_download_check_overwrite(), ami_gui_get_gui_window_2(), ami_gui_get_screen(), ami_gui_get_window(), ami_reset_pointer(), ami_set_pointer(), ASPrintf(), FClose, FOpen, GUI_POINTER_WAIT, messages_get(), NSERROR_OK, nsurl_access(), and savereq.

Here is the call graph for this function:

Variable Documentation

◆ amiga_download_table

struct gui_download_table* amiga_download_table
extern

Definition at line 534 of file download.c.

Referenced by main().