NetSurf
frontends
amiga
download.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008-9 Chris Young <chris@unsatisfactorysoftware.co.uk>
3
*
4
* This file is part of NetSurf, http://www.netsurf-browser.org/
5
*
6
* NetSurf is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
9
*
10
* NetSurf is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef AMIGA_DOWNLOAD_H
20
#define AMIGA_DOWNLOAD_H
21
22
#include "
amiga/os3support.h
"
23
24
extern
struct
gui_download_table
*
amiga_download_table
;
25
26
struct
download_context
;
27
struct
gui_download_window
;
28
struct
gui_window
;
29
struct
nsurl
;
30
31
struct
dlnode
32
{
33
struct
Node
node
;
34
char
*
filename
;
35
};
36
37
void
ami_free_download_list
(
struct
List *dllist);
38
BOOL
ami_download_check_overwrite
(
const
char
*file,
struct
Window *win, ULONG size);
39
void
ami_download_parse_backmsg
(
const
char
*backmsg);
40
41
nserror
gui_window_save_link
(
struct
gui_window
*g,
struct
nsurl
*url,
const
char
*title);
42
#endif
nserror
nserror
Enumeration of error codes.
Definition:
errors.h:29
ami_free_download_list
void ami_free_download_list(struct List *dllist)
Definition:
download.c:407
ami_download_check_overwrite
BOOL ami_download_check_overwrite(const char *file, struct Window *win, ULONG size)
Definition:
download.c:481
gui_window_save_link
nserror gui_window_save_link(struct gui_window *g, struct nsurl *url, const char *title)
Definition:
download.c:428
amiga_download_table
struct gui_download_table * amiga_download_table
Definition:
download.c:534
ami_download_parse_backmsg
void ami_download_parse_backmsg(const char *backmsg)
Definition:
download.c:520
nsurl
struct nsurl nsurl
NetSurf URL object.
Definition:
nsurl.h:31
os3support.h
Minimal compatibility header for AmigaOS 3.
dlnode
Definition:
download.h:32
dlnode::node
struct Node node
Definition:
download.h:33
dlnode::filename
char * filename
Definition:
download.h:34
download_context
A context for a download.
Definition:
download.c:40
gui_download_table
function table for download windows.
Definition:
download.h:34
gui_download_window
context for each download.
Definition:
download.c:91
gui_window
first entry in window list
Definition:
gui.c:297
Generated on Sun Oct 20 2024 12:52:13 for NetSurf by
1.9.4