ncm: update client code to better reflect latest sysupdate
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user