This repository has been archived on 2026-04-25. You can view files and clone it, but cannot push or open issues or pull requests.
FlippyPass/project/backend/store.h

22 lines
321 B
C
Raw Normal View History

2024-08-27 22:33:59 -05:00
// Define once
#ifndef H_STORE
#define H_STORE
// Libraries
2024-08-27 23:43:31 -05:00
#include <furi.h>
2024-08-27 22:33:59 -05:00
#include "app.h"
// Structures
typedef struct {
char* data;
2024-08-27 23:43:31 -05:00
bool valid;
2024-08-27 22:33:59 -05:00
} FStorage;
// Constructors
2024-08-28 07:45:02 -05:00
FStorage* store_load(char* type);
void store_save(char* type, char* data);
2024-08-27 22:33:59 -05:00
// Functions
void store_unload(FStorage* store);
#endif