Unmount partitions after restore (except for CACHE:).
Wipe sd-ext on data wipe.
Fix bug where wiping SDEXT: did not work.
diff --git a/nandroid.h b/nandroid.h
index 0d88131..30fee01 100644
--- a/nandroid.h
+++ b/nandroid.h
@@ -2,7 +2,7 @@
 #define NANDROID_H
 
 int nandroid_main(int argc, char** argv);
-int nandroid_backup(char* backup_path);
-int nandroid_restore(char* backup_path, int restore_boot, int restore_system, int restore_data, int restore_cache, int restore_sdext);
+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);
 
 #endif
\ No newline at end of file