mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 10:51:54 +03:00
19 lines
375 B
C
19 lines
375 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdbool.h>
|
||
|
#include <storage/storage.h>
|
||
|
|
||
|
#define LFS_BACKUP_DEFAULT_FILENAME "backup.tar"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
bool lfs_backup_create(Storage* storage, const char* destination);
|
||
|
bool lfs_backup_exists(Storage* storage, const char* source);
|
||
|
bool lfs_backup_unpack(Storage* storage, const char* source);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|