mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-22 10:43:11 +00: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
|