aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/fs/archive.h
diff options
context:
space:
mode:
authorarchshift <gh@archshift.com>2015-10-18 15:52:37 -0700
committerarchshift <gh@archshift.com>2015-10-27 23:33:59 -0700
commit5dfd2dba70b15cead6358b40b980d5be1b32039e (patch)
treebda933874f35988982444c9e4e934fe64a6e0a9c /src/core/hle/service/fs/archive.h
parent04325e5980a649bea58aad349fc04eaf403aba3a (diff)
Implement FS_User::GetFreeBytes
Diffstat (limited to 'src/core/hle/service/fs/archive.h')
-rw-r--r--src/core/hle/service/fs/archive.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/fs/archive.h b/src/core/hle/service/fs/archive.h
index 6f7048710..952deb4d4 100644
--- a/src/core/hle/service/fs/archive.h
+++ b/src/core/hle/service/fs/archive.h
@@ -167,6 +167,13 @@ ResultVal<Kernel::SharedPtr<Directory>> OpenDirectoryFromArchive(ArchiveHandle a
const FileSys::Path& path);
/**
+ * Get the free space in an Archive
+ * @param archive_handle Handle to an open Archive object
+ * @return The number of free bytes in the archive
+ */
+ResultVal<u64> GetFreeBytesInArchive(ArchiveHandle archive_handle);
+
+/**
* Erases the contents of the physical folder that contains the archive
* identified by the specified id code and path
* @param id_code The id of the archive to format