iPXE
nfs_uri.h
Go to the documentation of this file.
00001 #ifndef _IPXE_NFS_URI_H
00002 #define _IPXE_NFS_URI_H
00003 
00004 /** @file
00005  *
00006  * Network File System protocol URI handling functions
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 #include <ipxe/uri.h>
00013 
00014 struct nfs_uri {
00015         char *mountpoint;
00016         char *filename;
00017         char *path;
00018         char *lookup_pos;
00019 };
00020 
00021 int nfs_uri_init ( struct nfs_uri *nfs_uri, const struct uri *uri );
00022 int nfs_uri_next_mountpoint ( struct nfs_uri *uri );
00023 int nfs_uri_symlink ( struct nfs_uri *uri, const char *symlink_value );
00024 char *nfs_uri_mountpoint ( const struct nfs_uri *uri );
00025 char *nfs_uri_next_path_component ( struct nfs_uri *uri );
00026 void nfs_uri_free ( struct nfs_uri *uri );
00027 
00028 
00029 #endif /* _IPXE_NFS_URI_H */