From 7db6f09bbf06dfc15cd9aef486229637514d607a Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 5 Mar 2011 16:45:22 +0000 Subject: Restructuration du code. Création d'un Makefile avec génération automatique des dépendances. J'ai pomé 3 heures de boulot en écrasant tous mes .c par des fichiers vides, dégouté. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2011-ddhardrescue/trunk@6 d3078510-dda0-49f1-841c-895ef4b7ec81 --- inc/recover.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 inc/recover.h (limited to 'inc/recover.h') 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*/ -- cgit v1.2.3