NetSurf
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
25
26struct download_context;
28struct gui_window;
29struct nsurl;
30
31struct dlnode
32{
33 struct Node node;
34 char *filename;
35};
36
37void ami_free_download_list(struct List *dllist);
38BOOL ami_download_check_overwrite(const char *file, struct Window *win, ULONG size);
39void ami_download_parse_backmsg(const char *backmsg);
40
41nserror gui_window_save_link(struct gui_window *g, struct nsurl *url, const char *title);
42#endif
nserror
Enumeration of error codes.
Definition: errors.h:29
void ami_free_download_list(struct List *dllist)
Definition: download.c:407
BOOL ami_download_check_overwrite(const char *file, struct Window *win, ULONG size)
Definition: download.c:481
nserror gui_window_save_link(struct gui_window *g, struct nsurl *url, const char *title)
Definition: download.c:428
struct gui_download_table * amiga_download_table
Definition: download.c:534
void ami_download_parse_backmsg(const char *backmsg)
Definition: download.c:520
struct nsurl nsurl
NetSurf URL object.
Definition: nsurl.h:31
Minimal compatibility header for AmigaOS 3.
struct Node node
Definition: download.h:33
char * filename
Definition: download.h:34
A context for a download.
Definition: download.c:40
function table for download windows.
Definition: download.h:34
context for each download.
Definition: download.c:91
first entry in window list
Definition: gui.c:296