*
*/
+#ifndef SETUP_GETURL_H
+#define SETUP_GETURL_H
+
/* Download files from the Internet. These pop up a progress dialog;
don't forget to dismiss it when you're done downloading for a while */
-extern int total_download_bytes;
-extern int total_download_bytes_sofar;
+#include <string>
+
+extern long long int total_download_bytes;
+extern long long int total_download_bytes_sofar;
class io_stream;
-io_stream *get_url_to_membuf (char const *);
-char *get_url_to_string (char const *);
-int get_url_to_file (char *_url, char *_filename, int expected_size,
- BOOL allow_ftp_auth = FALSE);
-void dismiss_url_status_dialog ();
+io_stream *get_url_to_membuf (const std::string &_url, HWND owner);
+std::string get_url_to_string (const std::string &_url, HWND owner);
+int get_url_to_file (const std::string &_url, const std::string &_filename,
+ int expected_size, HWND owner);
+
+#endif /* SETUP_GETURL_H */