2018-09-07 15:00:13 +00:00
|
|
|
/*
|
2019-04-08 02:00:49 +00:00
|
|
|
* Copyright (c) 2018-2019 Atmosphère-NX
|
2018-09-07 15:00:13 +00: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 20:07:53 +00:00
|
|
|
#ifndef FUSEE_NX_FS_H
|
|
|
|
#define FUSEE_NX_FS_H
|
|
|
|
|
|
|
|
#include "fs_dev.h"
|
|
|
|
#include "raw_dev.h"
|
2019-04-06 18:35:27 +00:00
|
|
|
#include "emu_dev.h"
|
2018-07-19 20:07:53 +00:00
|
|
|
|
2019-04-07 18:02:01 +00:00
|
|
|
int nxfs_init();
|
|
|
|
int nxfs_end();
|
|
|
|
|
|
|
|
int nxfs_mount_sd();
|
|
|
|
int nxfs_mount_emmc();
|
2019-06-09 18:33:44 +00: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 18:02:01 +00:00
|
|
|
int nxfs_unmount_sd();
|
|
|
|
int nxfs_unmount_emmc();
|
2019-06-09 18:33:44 +00:00
|
|
|
int nxfs_unmount_emummc();
|
2018-07-19 20:07:53 +00:00
|
|
|
|
|
|
|
#endif
|