mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-27 22:32:15 +00:00
18 lines
518 B
C
18 lines
518 B
C
#ifndef FUSEE_FS_DEV_H
|
|
#define FUSEE_FS_DEV_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
#include "device_partition.h"
|
|
|
|
int fsdev_mount_device(const char *name, const device_partition_t *devpart, bool initialize_immediately);
|
|
int fsdev_register_device(const char *name);
|
|
int fsdev_set_default_device(const char *name); /* must be registered. */
|
|
|
|
int fsdev_unregister_device(const char *name);
|
|
int fsdev_unmount_device(const char *name); /* also unregisters. */
|
|
|
|
int fsdev_unmount_all(void);
|
|
|
|
#endif
|