Files
FEX-Emu--FEX/Source/Common/RootFSSetup.h
T
Ryan Houdek c07b5e480b Adds new FEXGetConfig program
This is a simple program to get a few configuration options that are necessary
to expose for pressure-vessel
2021-08-13 20:53:30 -07:00

16 lines
522 B
C++

#pragma once
#include <string>
namespace FEX::RootFS {
// Updates the RootFS path in the case of squashfs
// Doesn't mount the rootfs if it doesn't exist
// Returns true if the rootfs is accessible regularly, mounted or folder
bool UpdateRootFSPath();
// Returns where the rootfs lock file lives even if the squashfs isn't mounted
std::string GetRootFSLockFile();
// Checks if the rootfs lock exists
bool CheckLockExists(std::string const &LockPath);
bool Setup(char **const envp);
void Shutdown();
}