summaryrefslogtreecommitdiff
path: root/inc/recover.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/recover.h')
-rw-r--r--inc/recover.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/inc/recover.h b/inc/recover.h
new file mode 100644
index 0000000..eee8141
--- /dev/null
+++ b/inc/recover.h
@@ -0,0 +1,11 @@
+#ifndef RECOVER_H
+#define RECOVER_H
+
+#include "slices_evt.h"
+
+extern int end;
+
+void recover(slices_evt_t *slicesEvt, char *src, char *dst, char*ddOpts);
+int tryRecoverUntilError(slice_t *sliceToRead, address_t *firstError, char *src, char *dst, char *ddOpts);
+
+#endif /*RECOVER_H*/