Atmosphere/fusee/fusee-secondary/src/fs_dev.h

19 lines
518 B
C
Raw Normal View History

#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);
2018-05-17 01:53:32 +02:00
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