48#define FILE_SYSTEM_VALIDATE_UNINITIALIZATION ((uint8_t)0)
49#define FILE_SYSTEM_VALIDATE_INITIALIZATION ((uint8_t)1)
51#define FILE_SYSTEM_OBJECT_NOT_FOUND FS_MAX_OBJECTS
53#define FILE_SYSTEM_VALIDATE_OBJECT(__obj__) (void *)(__obj__) ? FSS_OK : FSS_GENERAL_ERROR
54#define FILE_SYSTEM_VALIDATE_LOGICAL_DRIVE FILE_SYSTEM_VALIDATE_OBJECT
55#define FILE_SYSTEM_VALIDATE_PHYSICAL_DRIVE FILE_SYSTEM_VALIDATE_OBJECT
56#define FILE_SYSTEM_VALIDATE_FILE FILE_SYSTEM_VALIDATE_OBJECT
57#define FILE_SYSTEM_VALIDATE_DIRECTORY FILE_SYSTEM_VALIDATE_OBJECT
63typedef uint8_t file_system_validation_t;
79 fs_status_t (* rename)(
logical_drive_t *
const ptr_this,
const char * __generic_ptr old_path,
const char * __generic_ptr new_path);
102logical_drive_t * file_system_get_registred_volume(
const uint8_t volume);
103fs_status_t file_system_get_drive_id(
const char * __generic_ptr path, uint8_t *
const drive_number);
105uint8_t file_system_check_object_registration(
void * obj);
106fs_status_t file_system_validate_object_opening(
void * obj);
107fs_status_t file_system_validate_object_closing(
void * obj, uint8_t * found_object_index);
108void file_system_register_object(
void * obj);
109void file_system_unregister_object(
void * obj, uint8_t registred_object_index);
fs_file_rw_pointer_t
: file_seek API Starting Offset
Definition file_system.h:188
void * fs_file_t
: File data specific to a particular file system.
Definition file_system.h:200
void * fs_dir_t
: Directory Data specific to a particular File System.
Definition file_system.h:209
int8_t fs_status_t
: File System API return value
Definition file_system.h:181
Logical Drive Base Data Structure.
Definition file_system.h:246
Logical Drive Vector Table.
Definition fs_common.h:73
Physical Drive Base Data Structure Reference.
Definition physical_drive.h:127