2 * Copyright (c) 2000, 2001, Red Hat, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by DJ Delorie <dj@cygnus.com>
16 #ifndef SETUP_GETURL_H
17 #define SETUP_GETURL_H
19 /* Download files from the Internet. These pop up a progress dialog;
20 don't forget to dismiss it when you're done downloading for a while */
22 extern int total_download_bytes
;
23 extern int total_download_bytes_sofar
;
28 io_stream
*get_url_to_membuf (String
const &, HWND owner
);
29 void getUrlToStream (String
const &, HWND owner
, io_stream
*);
30 String
get_url_to_string (String
const&, HWND owner
);
31 int get_url_to_file (String
const &_url
, String
const &_filename
, int expected_size
,
32 HWND owner
, BOOL allow_ftp_auth
= FALSE
);
33 void dismiss_url_status_dialog ();
35 #endif /* SETUP_GETURL_H */