summaryrefslogtreecommitdiffstats
path: root/loader2/nfsinstall.h
blob: 2e4b97efbd0e5d5f0d7b0f358d95372fb643a361 (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;
};


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

#endif