#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*/