My Project
Loading...
Searching...
No Matches
FS_DRIVER Struct Reference

#include <vfs.h>

Data Fields

MTSTATUS(* init )(uint8_t device_id)
MTSTATUS(* read )(const char *filename, uint32_t *file_size_out, void **buffer_out)
MTSTATUS(* write )(const char *path, const void *data, uint32_t size, uint32_t mode)
MTSTATUS(* delete )(const char *path)
MTSTATUS(* mkdir )(const char *path)
MTSTATUS(* rmdir )(const char *path)
bool(* is_dir_empty )(const char *path)
MTSTATUS(* listdir )(const char *path, char *listings, size_t max_len)
void(* listrootdir )(void)

Detailed Description

Definition at line 18 of file vfs.h.

Field Documentation

◆ delete

MTSTATUS(* delete) (const char *path)

Definition at line 22 of file vfs.h.

◆ init

MTSTATUS(* init) (uint8_t device_id)

Definition at line 19 of file vfs.h.

◆ is_dir_empty

bool(* is_dir_empty) (const char *path)

Definition at line 25 of file vfs.h.

◆ listdir

MTSTATUS(* listdir) (const char *path, char *listings, size_t max_len)

Definition at line 26 of file vfs.h.

◆ listrootdir

void(* listrootdir) (void)

Definition at line 27 of file vfs.h.

◆ mkdir

MTSTATUS(* mkdir) (const char *path)

Definition at line 23 of file vfs.h.

◆ read

MTSTATUS(* read) (const char *filename, uint32_t *file_size_out, void **buffer_out)

Definition at line 20 of file vfs.h.

◆ rmdir

MTSTATUS(* rmdir) (const char *path)

Definition at line 24 of file vfs.h.

◆ write

MTSTATUS(* write) (const char *path, const void *data, uint32_t size, uint32_t mode)

Definition at line 21 of file vfs.h.


The documentation for this struct was generated from the following file:
  • C:/Users/matanel/Desktop/Projects/KernelDevelopment/kernel/filesystem/vfs/vfs.h