summaryrefslogtreecommitdiffstats
path: root/loader2/urlinstall.h
blob: c03961cb9e576872a5a2fceac8a2f6caf9767abd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef URLINSTALL_H
#define URLINSTALL_H

#include "method.h"

struct urlInstallData {
    char * url;
};


void setKickstartUrl(struct knownDevices * kd, 
                     struct loaderData_s * loaderData, int argc,
		     char ** argv, int * flagsPtr);
int kickstartFromUrl(char * url, struct knownDevices * kd,
                     struct loaderData_s * loaderData, int flags);
char * mountUrlImage(struct installMethod * method,
                     char * location, struct knownDevices * kd,
                     struct loaderData_s * loaderData,
                     moduleInfoSet modInfo, moduleList modLoaded,
                     moduleDeps * modDepsPtr, int flags);
int getFileFromUrl(char * url, char * dest, struct knownDevices * kd,
                   struct loaderData_s * loaderData, int flags);


#endif