summaryrefslogtreecommitdiff
path: root/src/utils/virtfs.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-10 21:18:26 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-10 21:18:26 +0300
commitc6277401fb4dafbe08bac534e0de7796f70a0d19 (patch)
tree7c32dd8ee76bdbf0d6f68de3aaf08b64b1d57080 /src/utils/virtfs.h
parent6c9c56b70db43f4100863d312835fce763698008 (diff)
downloadplus-c6277401fb4dafbe08bac534e0de7796f70a0d19.tar.gz
plus-c6277401fb4dafbe08bac534e0de7796f70a0d19.tar.bz2
plus-c6277401fb4dafbe08bac534e0de7796f70a0d19.tar.xz
plus-c6277401fb4dafbe08bac534e0de7796f70a0d19.zip
Add some missing functions into virtfs.
Diffstat (limited to 'src/utils/virtfs.h')
-rw-r--r--src/utils/virtfs.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/utils/virtfs.h b/src/utils/virtfs.h
index 8cbfe8c51..66149c903 100644
--- a/src/utils/virtfs.h
+++ b/src/utils/virtfs.h
@@ -57,8 +57,16 @@ namespace VirtFs
void *const buffer,
const uint32_t objSize,
const uint32_t objCount);
- void close(PHYSFS_file *const file);
+ int64_t write(PHYSFS_File *const file,
+ const void *const buffer,
+ const uint32_t objSize,
+ const uint32_t objCount);
+ int close(PHYSFS_file *const file);
int64_t fileLength(PHYSFS_File *const file);
+ int64_t tell(PHYSFS_File *const file);
+ int seek(PHYSFS_File *const file,
+ const uint64_t pos);
+ int eof(PHYSFS_File *const file);
} // namespace PhysFs
extern const char *dirSeparator;