summaryrefslogtreecommitdiff
path: root/src/recover.h
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2011-02-18 17:06:00 +0000
committerLudovic Pouzenc <ludovic@pouzenc.fr>2011-02-18 17:06:00 +0000
commit78725557a028004d6e03a6ce82856eae282a1a8f (patch)
tree784e507f65b4e9984e952e76a4e66ad228d9f261 /src/recover.h
parent4dc52777eb3e950f8758037f3e10f1b7e55957ba (diff)
download2011-ddhardrescue-78725557a028004d6e03a6ce82856eae282a1a8f.tar.gz
2011-ddhardrescue-78725557a028004d6e03a6ce82856eae282a1a8f.tar.bz2
2011-ddhardrescue-78725557a028004d6e03a6ce82856eae282a1a8f.zip
Iport initial du projet. Compile presque, reste beaucoup de fonctions utilisataires pour les slices à coder (notamment slicesDump()) et manque une gestion multi-thread pour aficher pendant le recovery.
git-svn-id: file:///var/svn/2011-ddhardrescue/trunk@2 d3078510-dda0-49f1-841c-895ef4b7ec81
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*/