summaryrefslogtreecommitdiff
path: root/inc/recover.h
blob: 85f17380dff7cbd7f1af9c83b750c34b333deeea (plain)
1
2
3
4
5
6
7
8
9
10
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*/