4#include "filesystem_api_internal.h"
18typedef struct StorageData StorageData;
21 void (*tick)(StorageData* storage);
32 StorageStatusNotReady,
33 StorageStatusNotMounted,
35 StorageStatusNotAccessible,
36 StorageStatusErrorInternal,
44void storage_data_init(StorageData* storage);
45StorageStatus storage_data_status(StorageData* storage);
46const char* storage_data_status_text(StorageData* storage);
47void storage_data_timestamp(StorageData* storage);
48uint32_t storage_data_get_timestamp(StorageData* storage);
53 (INIT(API_2(storage_file_init)),
54 SET(API_6(storage_file_init_set)),
55 INIT_SET(API_6(storage_file_set)),
56 CLEAR(API_2(storage_file_clear))))
63 StorageFileList_t files;
67bool storage_has_file(
const File* file, StorageData* storage_data);
68bool storage_path_already_open(
FuriString* path, StorageData* storage_data);
70void storage_set_storage_file_data(
const File* file,
void* file_data, StorageData* storage);
71void* storage_get_storage_file_data(
const File* file, StorageData* storage);
73void storage_push_storage_file(
File* file,
FuriString* path, StorageData* storage);
74bool storage_pop_storage_file(
File* file, StorageData* storage);
76size_t storage_open_files_count(StorageData* storage);
Full filesystem api structure.
Definition filesystem_api_internal.h:189
Structure that hold file index and returned api errors.
Definition filesystem_api_internal.h:17
Definition storage_glue.h:20
Definition storage_glue.h:24