mirror of
https://github.com/CTCaer/CTCaer-CWM.git
synced 2025-02-17 01:27:59 +00:00
![James Sullins](/assets/img/avatar_default.png)
* Change "choose backup format" to "choose default backup format" to clarify that the change is persistent * Change the default backup format selection such that it correctly shows the current default format (instead of always showing tar) Change-Id: I4fe4bd9a07633f8fc4d335c424e20aea99f90f85
16 lines
598 B
C
16 lines
598 B
C
#ifndef NANDROID_H
|
|
#define NANDROID_H
|
|
|
|
int nandroid_main(int argc, char** argv);
|
|
int nandroid_backup(const char* backup_path);
|
|
int nandroid_restore(const char* backup_path, int restore_boot, int restore_system, int restore_data, int restore_cache, int restore_sdext, int restore_wimax);
|
|
void nandroid_dedupe_gc(const char* blob_dir);
|
|
void nandroid_force_backup_format(const char* fmt);
|
|
unsigned nandroid_get_default_backup_format();
|
|
|
|
#define NANDROID_BACKUP_FORMAT_FILE "/sdcard/clockworkmod/.default_backup_format"
|
|
#define NANDROID_BACKUP_FORMAT_TAR 0
|
|
#define NANDROID_BACKUP_FORMAT_DUP 1
|
|
|
|
#endif
|