BSB Developer Docs
Loading...
Searching...
No Matches
storage_i.h
1#pragma once
2#include <furi.h>
3#include <furi_hal.h>
4
5#include "storage_glue.h"
6#include "storage_sd_api.h"
7#include "filesystem_api_internal.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#define STORAGE_COUNT (ST_MAX)
14
15#define APPS_DATA_PATH EXT_PATH("apps_data")
16#define APPS_ASSETS_PATH EXT_PATH("apps_assets")
17
18#define SHUTDOWN_GATE_FLAG (1 << 0)
19
20struct Storage {
21 FuriMessageQueue* message_queue;
22 FuriEventFlag* shutdown_gate;
23 StorageData storage[STORAGE_COUNT];
24 FuriPubSub* pubsub;
25
26 // Temporary paths for file operations
27 FuriString* path_aliased;
28 FuriString* path_storage;
29};
30
31#ifdef __cplusplus
32}
33#endif
Definition storage_i.h:20