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
10
extern
"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
20
struct
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
Storage
Definition
storage_i.h:20
applications
services
storage
storage_i.h
Generated by
1.12.0