summaryrefslogtreecommitdiff
path: root/inc/recover.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/recover.h')
-rwxr-xr-xinc/recover.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/inc/recover.h b/inc/recover.h
new file mode 100755
index 0000000..85f1738
--- /dev/null
+++ b/inc/recover.h
@@ -0,0 +1,11 @@
+#ifndef RECOVER_H
+#define RECOVER_H
+
+#include "slices.h"
+
+extern int end;
+
+slices_t *recover(char *src, char *dst, char*ddOpts, address_t beginSector, address_t endSector/*, int depth*/);
+int tryRecoverUntilError(slice_t *sliceToRead, address_t *firstError, char *src, char *dst, char *ddOpts);
+
+#endif /*RECOVER_H*/