diff options
author | Emmanuel Hansen <emmausssss@gmail.com> | 2023-05-09 21:46:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 21:46:23 +0000 |
commit | 0bc8151c7ecdacc1506305a8d60e7b3c7b13622d (patch) | |
tree | c14b5a4463764a0f86285054cea813e242950ba2 /src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs | |
parent | 40c17673f5a1a7c96f548dc4efaf05bba832a340 (diff) |
IPC - Refactor Bcat service to use new ipc - Revisit (#4803)1.1.774
* bcat ipc
* fix hipc buffer flags
* add buffer fixed size flag on generator
Diffstat (limited to 'src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs')
-rw-r--r-- | src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs b/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs new file mode 100644 index 00000000..a1e5d43b --- /dev/null +++ b/src/Ryujinx.Horizon/Sdk/Bcat/IDeliveryCacheFileService.cs @@ -0,0 +1,15 @@ +using LibHac.Bcat; +using Ryujinx.Horizon.Common; +using Ryujinx.Horizon.Sdk.Sf; +using System; + +namespace Ryujinx.Horizon.Sdk.Bcat +{ + internal interface IDeliveryCacheFileService : IServiceObject + { + Result GetDigest(out Digest digest); + Result GetSize(out long size); + Result Open(DirectoryName directoryName, FileName fileName); + Result Read(long offset, out long bytesRead, Span<byte> data); + } +} |