Logo Search packages:      
Sourcecode: arj version File versions


 * $Id: recovery.h,v 2002/03/28 00:03:24 andrew_belov Exp $
 * ---------------------------------------------------------------------------
 * Prototypes of the functions located in RECOVERY.C are declared here.


/* Recovery threshold */

#define RECOVERY_THRESHOLD       488    /* Each 488K is 1 block */

/* Prototypes */

unsigned long calc_protdata_size(unsigned long limit, int threshold);
int create_protfile(FILE *stream, unsigned long offset, int state);
unsigned long chk_prot_sig(FILE *stream, unsigned long rp_ofs);
int recover_file(char *name, char *protname, char *rec_name, int test_mode, unsigned long sig_offset);


Generated by  Doxygen 1.6.0   Back to index