diff options
| author | David Cantrell <dcantrell@redhat.com> | 2008-08-25 22:02:56 -1000 |
|---|---|---|
| committer | David Cantrell <dcantrell@redhat.com> | 2008-08-25 22:02:56 -1000 |
| commit | e03184847fd46f0b52066eef8632234d7b52864d (patch) | |
| tree | 634b1e3ac4ae8e29dfaa43c9561b8da942c7ca43 /loader/method.h | |
| parent | 8c740e33db7bb674194a9196c6ea7785bd5796ff (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.h | 4 |
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); |
