Add Ioctl() to IFileSystem, cleaner.

This commit is contained in:
Unknown W. Brackets committed 2013-12-27 08:03:59 -08:00
1 parent 8c34f5f78e
commit dbf86187e3
10 files changed
+71 -28

No files matched your search

+1 -2
View File
@@ -102,8 +102,7 @@ public:
virtual bool RmDir(const std::string &dirname);
virtual int RenameFile(const std::string &from, const std::string &to);
virtual bool RemoveFile(const std::string &filename);
// TODO: void IoCtl(...)
virtual int Ioctl(u32 handle, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 outlen, int &usec);
// Convenience helper - returns < 0 on failure.
int ReadEntireFile(const std::string &filename, std::vector<u8> &data);