You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nfs_uri.h 661B

1234567891011121314151617181920212223242526272829
  1. #ifndef _IPXE_NFS_URI_H
  2. #define _IPXE_NFS_URI_H
  3. /** @file
  4. *
  5. * Network File System protocol URI handling functions
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  9. #include <ipxe/uri.h>
  10. struct nfs_uri {
  11. char *mountpoint;
  12. char *filename;
  13. char *path;
  14. char *lookup_pos;
  15. };
  16. int nfs_uri_init ( struct nfs_uri *nfs_uri, const struct uri *uri );
  17. int nfs_uri_next_mountpoint ( struct nfs_uri *uri );
  18. int nfs_uri_symlink ( struct nfs_uri *uri, const char *symlink_value );
  19. char *nfs_uri_mountpoint ( const struct nfs_uri *uri );
  20. char *nfs_uri_next_path_component ( struct nfs_uri *uri );
  21. void nfs_uri_free ( struct nfs_uri *uri );
  22. #endif /* _IPXE_NFS_URI_H */