Luna::VFS::DriverDesc::on_open_file
R< Ref< IFile > >(* on_open_file) (void *driver_data, void *mount_data, const Path &path, FileOpenFlag flags, FileCreationMode creation)
Called when VFS::open_file is called on one file or directory belongs to one device of this driver.
Parameters
-
in driver_data
The user-provided driver data.
-
in mount_data
The mount data returned by on_mount for the device.
-
in path
The path of the file to open relative to the mount root path.
-
in flags
The file open flags.
-
in creation
The file creation flags.