2018-09-07 16:00:13 +01:00
|
|
|
/*
|
2020-01-24 10:10:40 +00:00
|
|
|
* Copyright (c) 2018-2020 Atmosphère-NX
|
2018-09-07 16:00:13 +01:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-07-19 21:07:53 +01:00
|
|
|
#ifndef FUSEE_NX_FS_H
|
|
|
|
#define FUSEE_NX_FS_H
|
|
|
|
|
|
|
|
#include "fs_dev.h"
|
|
|
|
#include "raw_dev.h"
|
|
|
|
|
2019-04-07 19:02:01 +01:00
|
|
|
int nxfs_init();
|
|
|
|
int nxfs_end();
|
|
|
|
|
|
|
|
int nxfs_mount_sd();
|
|
|
|
int nxfs_mount_emmc();
|
2019-06-09 19:33:44 +01:00
|
|
|
int nxfs_mount_emummc_partition(uint64_t emummc_start_sector);
|
|
|
|
int nxfs_mount_emummc_file(const char *emummc_path, int num_parts, uint64_t part_limit);
|
2019-04-07 19:02:01 +01:00
|
|
|
int nxfs_unmount_sd();
|
|
|
|
int nxfs_unmount_emmc();
|
2019-06-09 19:33:44 +01:00
|
|
|
int nxfs_unmount_emummc();
|
2018-07-19 21:07:53 +01:00
|
|
|
|
|
|
|
#endif
|