summaryrefslogtreecommitdiffstats
path: root/loader/method.h
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-08-25 22:02:56 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-08-25 22:02:56 -1000
commite03184847fd46f0b52066eef8632234d7b52864d (patch)
tree634b1e3ac4ae8e29dfaa43c9561b8da942c7ca43 /loader/method.h
parent8c740e33db7bb674194a9196c6ea7785bd5796ff (diff)
Download progress indicator for FTP and HTTP in stage 1.
Patch from Ricky Zhou to add a pinwheel and progress bar for FTP and HTTP downloads from loader.
Diffstat (limited to 'loader/method.h')
-rw-r--r--loader/method.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/loader/method.h b/loader/method.h
index 5f6c7a83d..1b5e2d3f7 100644
--- a/loader/method.h
+++ b/loader/method.h
@@ -21,6 +21,7 @@
#define H_METHOD
#include "loader.h"
+#include "windows.h"
/* method identifiers, needs to match struct installMethod order in loader.c */
enum {
@@ -46,7 +47,8 @@ void queryIsoMediaCheck(char * isoDir);
void umountStage2(void);
int mountStage2(char *stage2path);
-int copyFileAndLoopbackMount(int fd, char *dest, char *device, char *mntpoint);
+int copyFileAndLoopbackMount(int fd, char *dest, char *device, char *mntpoint,
+ progressCB pbcb, struct progressCBdata *data, long long total);
int getFileFromBlockDevice(char *device, char *path, char * dest);
int unpackCpioBall(char * ballPath, char * rootDir);