]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - geturl.h
Simplify uninstall-only warning
[cygwin-apps/setup.git] / geturl.h
index 8fbbfe3a98a1ddd94eb75d4b7449cd7f3f0e53cc..f4e963ef7f7dfad046b1200311f90011489de0ad 100644 (file)
--- a/geturl.h
+++ b/geturl.h
  *
  */
 
+#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 */
This page took 0.027243 seconds and 5 git commands to generate.