mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
ncm: update client code to better reflect latest sysupdate
This commit is contained in:
parent
ca142889c4
commit
320a946fc7
28 changed files with 1432 additions and 110 deletions
|
@ -18,6 +18,8 @@
|
|||
|
||||
namespace ams::ncm::impl {
|
||||
|
||||
using FilePathString = kvdb::BoundedString<64>;
|
||||
|
||||
Result CopyFile(const char *dst_path, const char *src_path);
|
||||
|
||||
class PathView {
|
||||
|
@ -34,6 +36,8 @@ namespace ams::ncm::impl {
|
|||
char str[fs::MountNameLengthMax + 1];
|
||||
};
|
||||
|
||||
using MountNameString = kvdb::BoundedString<sizeof(MountName{}.str)>;
|
||||
|
||||
struct RootDirectoryPath {
|
||||
char str[fs::MountNameLengthMax + 3]; /* mount name + :/ */
|
||||
};
|
||||
|
@ -41,4 +45,6 @@ namespace ams::ncm::impl {
|
|||
MountName CreateUniqueMountName();
|
||||
RootDirectoryPath GetRootDirectoryPath(const MountName &mount_name);
|
||||
|
||||
Result MountContentMetaImpl(const char *mount_name, const char *path);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue