mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +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
|