Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / include / ipxe / nfs_uri.h
1 #ifndef _IPXE_NFS_URI_H
2 #define _IPXE_NFS_URI_H
3
4 /** @file
5  *
6  * Network File System protocol URI handling functions
7  *
8  */
9
10 FILE_LICENCE ( GPL2_OR_LATER );
11
12 #include <ipxe/uri.h>
13
14 struct nfs_uri {
15         char *mountpoint;
16         char *filename;
17         char *path;
18         char *lookup_pos;
19 };
20
21 int nfs_uri_init ( struct nfs_uri *nfs_uri, const struct uri *uri );
22 int nfs_uri_next_mountpoint ( struct nfs_uri *uri );
23 int nfs_uri_symlink ( struct nfs_uri *uri, const char *symlink_value );
24 char *nfs_uri_mountpoint ( const struct nfs_uri *uri );
25 char *nfs_uri_next_path_component ( struct nfs_uri *uri );
26 void nfs_uri_free ( struct nfs_uri *uri );
27
28
29 #endif /* _IPXE_NFS_URI_H */