summaryrefslogtreecommitdiff
path: root/src/recover.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/recover.h')
-rwxr-xr-xsrc/recover.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/recover.h b/src/recover.h
new file mode 100755
index 0000000..d8b1409
--- /dev/null
+++ b/src/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);
+
+#endif /*RECOVER_H*/