2
* $Id: recovery.h,v 1.1.1.2 2002/03/28 00:03:24 andrew_belov Exp $
3
* ---------------------------------------------------------------------------
4
* Prototypes of the functions located in RECOVERY.C are declared here.
8
#ifndef RECOVERY_INCLUDED
9
#define RECOVERY_INCLUDED
11
/* Recovery threshold */
13
#define RECOVERY_THRESHOLD 488 /* Each 488K is 1 block */
17
unsigned long calc_protdata_size(unsigned long limit, int threshold);
18
int create_protfile(FILE *stream, unsigned long offset, int state);
19
unsigned long chk_prot_sig(FILE *stream, unsigned long rp_ofs);
20
int recover_file(char *name, char *protname, char *rec_name, int test_mode, unsigned long sig_offset);