]> cygwin.com Git - cygwin-apps/setup.git/blob - geturl.h
2003-10-23 Jerry D. Hedden <jerry@hedden.us>
[cygwin-apps/setup.git] / geturl.h
1 /*
2 * Copyright (c) 2000, 2001, Red Hat, Inc.
3 *
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.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by DJ Delorie <dj@cygnus.com>
13 *
14 */
15
16 #ifndef SETUP_GETURL_H
17 #define SETUP_GETURL_H
18
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 */
21
22 extern int total_download_bytes;
23 extern int total_download_bytes_sofar;
24
25 class io_stream;
26 class String;
27
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 ();
34
35 #endif /* SETUP_GETURL_H */
This page took 0.036093 seconds and 5 git commands to generate.