37 lines
704 B
C
37 lines
704 B
C
#ifndef _KERNEL_FS_FATFS_H
|
|
#define _KERNEL_FS_FATFS_H
|
|
|
|
#include <desc.h>
|
|
#include <device/device.h>
|
|
#include <dir_entry.h>
|
|
#include <fs/def_vfs_op.h>
|
|
#include <libk/std.h>
|
|
#include <proc/proc.h>
|
|
#include <proc/reschedule.h>
|
|
|
|
struct vfs_volume;
|
|
|
|
DEFINE_VFS_MOUNT(fatfs_mount);
|
|
|
|
DEFINE_VFS_UNMOUNT(fatfs_unmount);
|
|
|
|
DEFINE_VFS_FORMAT(fatfs16_format);
|
|
|
|
DEFINE_VFS_FORMAT(fatfs32_format);
|
|
|
|
DEFINE_VFS_DESCRIBE(fatfs_describe);
|
|
|
|
DEFINE_VFS_READ_FILE(fatfs_read_file);
|
|
|
|
DEFINE_VFS_WRITE_FILE(fatfs_write_file);
|
|
|
|
DEFINE_VFS_READ_DIR_ENTRY(fatfs_read_dir_entry);
|
|
|
|
DEFINE_VFS_CREATE_FILE(fatfs_create_file);
|
|
|
|
DEFINE_VFS_CREATE_DIR(fatfs_create_dir);
|
|
|
|
DEFINE_VFS_REMOVE(fatfs_remove);
|
|
|
|
#endif // _KERNEL_FS_FATFS_H
|