summaryrefslogtreecommitdiffstats
path: root/loader2/nfsinstall.h
blob: a2820403aca134080ae9473f9efbdd44b973a761 (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 NFSINSTALL_H
#define NFSINSTALL_H

#include "method.h"

struct nfsInstallData {
    char * host;
    char * directory;
};


void setKickstartNfs(struct knownDevices * kd, 
                     struct loaderData_s * loaderData, int argc,
                     char ** argv, int * flagsPtr);
int kickstartFromNfs(char * url, struct knownDevices * kd,
                     struct loaderData_s * loaderData, int flags);
char * mountNfsImage(struct installMethod * method,
                     char * location, struct knownDevices * kd,
                     struct loaderData_s * loaderData,
                     moduleInfoSet modInfo, moduleList modLoaded,
                     moduleDeps * modDepsPtr, int flags);
int getFileFromNfs(char * url, char * dest, struct knownDevices * kd,
                   struct loaderData_s * loaderData, int flags);

#endif