2023-06-23 02:28:14 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "orbis/error/SysResult.hpp"
|
2023-07-29 18:53:34 +02:00
|
|
|
#include "orbis/file.hpp"
|
2023-06-23 02:28:14 +02:00
|
|
|
#include "orbis/utils/Rc.hpp"
|
|
|
|
|
#include <filesystem>
|
|
|
|
|
|
|
|
|
|
struct IoDevice;
|
|
|
|
|
|
|
|
|
|
namespace rx::vfs {
|
|
|
|
|
void initialize();
|
|
|
|
|
void deinitialize();
|
|
|
|
|
orbis::SysResult mount(const std::filesystem::path &guestPath, IoDevice *dev);
|
|
|
|
|
orbis::SysResult open(std::string_view path, int flags, int mode,
|
2023-07-29 21:46:28 +02:00
|
|
|
orbis::Ref<orbis::File> *file, orbis::Thread *thread);
|
2023-07-06 18:16:25 +02:00
|
|
|
} // namespace rx::vfs
|