aboutsummaryrefslogtreecommitdiffstats
path: root/flashutils/flashutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'flashutils/flashutils.h')
-rw-r--r--flashutils/flashutils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/flashutils/flashutils.h b/flashutils/flashutils.h
new file mode 100644
index 0000000..f4466f0
--- /dev/null
+++ b/flashutils/flashutils.h
@@ -0,0 +1,6 @@
+int restore_raw_partition(const char *partition, const char *filename);
+int backup_raw_partition(const char *partition, const char *filename);
+int erase_raw_partition(const char *partition);
+int erase_partition(const char *partition, const char *filesystem);
+int mount_partition(const char *partition, const char *mount_point, const char *filesystem, int read_only);
+int get_partition_device(const char *partition, char *device); \ No newline at end of file