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

#include "method.h"

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


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

#endif