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