2018-09-07 16:00:13 +01:00
|
|
|
/*
|
2019-04-08 03:00:49 +01:00
|
|
|
* Copyright (c) 2018-2019 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-06 19:35:27 +01:00
|
|
|
#include "emu_dev.h"
|
2018-07-19 21:07:53 +01:00
|
|
|
|
2019-04-07 19:02:01 +01:00
|
|
|
int nxfs_init();
|
|
|
|
int nxfs_end();
|
|
|
|
|
|
|
|
int nxfs_mount_sd();
|
|
|
|
int nxfs_mount_emmc();
|
2019-06-03 20:29:37 +01:00
|
|
|
int nxfs_mount_emu_emmc(const char *emunand_path, int num_parts, uint64_t part_limit);
|
2019-04-07 19:02:01 +01:00
|
|
|
int nxfs_unmount_sd();
|
|
|
|
int nxfs_unmount_emmc();
|
|
|
|
int nxfs_unmount_emu_emmc();
|
2018-07-19 21:07:53 +01:00
|
|
|
|
|
|
|
#endif
|