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