mikroSDK Reference Manual
|
Logical Drive Vector Table. More...
Data Fields | |
fs_status_t(* | format )(logical_drive_t *const ptr_this) |
fs_status_t(* | mount )(logical_drive_t *const ptr_this, physical_drive_t *const physical_drive) |
fs_status_t(* | unmount )(logical_drive_t *const ptr_this) |
fs_status_t(* | remove )(logical_drive_t *const ptr_this, const char *__generic_ptr path) |
fs_status_t(* | rename )(logical_drive_t *const ptr_this, const char *__generic_ptr old_path, const char *__generic_ptr new_path) |
fs_status_t(* | mkdir )(logical_drive_t *const ptr_this, const char *__generic_ptr path) |
fs_status_t(* | chdir )(logical_drive_t *const ptr_this, const char *__generic_ptr path) |
fs_status_t(* | f_open )(logical_drive_t *const ptr_this, fs_file_t file, const char *__generic_ptr path, int flags) |
fs_status_t(* | f_close )(logical_drive_t *const ptr_this, fs_file_t file) |
fs_status_t(* | f_read )(logical_drive_t *const ptr_this, fs_file_t file, void *buffer, uint32_t bttes_to_read) |
fs_status_t(* | f_write )(logical_drive_t *const ptr_this, fs_file_t file, void *buffer, uint32_t bytes_to_write) |
fs_status_t(* | f_sync )(logical_drive_t *const ptr_this, fs_file_t file) |
fs_status_t(* | f_seek )(logical_drive_t *const ptr_this, fs_file_t file, int32_t offset, fs_file_rw_pointer_t starting_position) |
uint32_t(* | f_tell )(logical_drive_t *const ptr_this, fs_file_t file) |
fs_status_t(* | f_rewind )(logical_drive_t *const ptr_this, fs_file_t file) |
uint32_t(* | f_size )(logical_drive_t *const ptr_this, fs_file_t file) |
fs_status_t(* | f_truncate )(logical_drive_t *const ptr_this, fs_file_t file, int length) |
fs_status_t(* | d_open )(logical_drive_t *const ptr_this, fs_dir_t dir, const char *__generic_ptr path) |
fs_status_t(* | d_close )(logical_drive_t *const ptr_this, fs_dir_t dir) |
fs_status_t(* | d_read )(logical_drive_t *const ptr_this, fs_dir_t dir, void *file_information) |
fs_status_t(* | d_rewind )(logical_drive_t *const ptr_this, fs_dir_t dir) |
The struct represents a table of function pointers and it used used by logical_drive_t struct, in order to call up correct functions for the file system type being used by the logical drive.