Files
mop3/kernel/fs/fatfs.h
kamkow1 d7bfc5c8fd
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m32s
Wrap filesystem op in macros
2026-03-15 14:50:13 +01:00

35 lines
678 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_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