/*static char *SCCSID = "@(#)globals.h	6.2 91/09/08";*/
/*static char *SCCSID = "@(#)globals.h	6.2 91/09/08";*/
/***	GLOBALS.H - Global chkdsk declarations
 *
 *	CHKDSK
 *	Copyright (C) 1988 Microsoft Corp.
 *	Gregory A. Jones
 *
 *	Modification history:
 *	P.A. Williams	05/25/89    PTR B783413-Added chk_lof_offset
 *	P.A. Williams	06/20/89    Added chk_neacnt
 *	P.A. Williams	08/09/89	Added chk_valid_cps.
 *	G.A. Jones	08/17/89	Added autocheck stuff.
 * @d01 73790     93SEP03 gy  <Support V4FORMAT. GHASSAN@AUSVM1>
 */

extern USHORT chk_delete_inconsistency;
extern USHORT chk_recover_data;
extern USHORT chk_search_free;
extern USHORT chk_check_if_dirty;
extern USHORT chk_verbose_display;
extern USHORT chk_autocheck;
extern USHORT chk_usepipe;
#ifdef PMFRONTEND
extern USHORT chk_pmfrontend;                 //PCR PM FRONT END
#endif
extern USHORT chk_fatboot;
extern USHORT chk_checking;
extern USHORT chk_recovering;
extern USHORT chk_error_found;
extern USHORT chk_deleted_this_pass;
extern USHORT chk_insf_mem;
extern BOOL   chk_fRecoverOutofMem;
extern USHORT usChkPercentDone;
extern ULONG  ulNumSectorsChecked;


extern USHORT chk_in_run;
extern ULONG chk_run_start;
extern ULONG chk_run_end;
extern USHORT chk_sector_free;

#ifdef TIMESTAMPS
extern UCHAR chk_version_str [];
extern UCHAR chk_timestamp_str [];
#endif

extern USHORT chk_error_messages [];

extern UCHAR *chk_db_usemap;
extern UCHAR huge *chk_disk_map;

extern UCHAR *chk_hotfix_masks;

extern struct mem_blk *chk_lost;

extern union blk chk_scratch_blk;

extern struct BUFNODE chk_cache [];
extern UCHAR **chk_namecache;
extern USHORT chk_ndel;
extern USHORT chk_maxdel;
extern UCHAR chk_curpath [];

extern ULONG chk_data_sectors;
extern ULONG chk_control_sectors;
extern ULONG chk_fnode_sectors;
extern ULONG chk_subdir_sectors;
extern ULONG chk_dirblk_sectors;
extern ULONG chk_ab_sectors;
extern ULONG chk_ea_sectors;

extern USHORT chk_sizes [];
extern ULONG chk_sigs [];

#ifdef TRACE
extern UCHAR *chk_types [];
extern UCHAR *chk_vstypes [];
#endif

extern ULONG chk_stackdepth;

extern USHORT *chk_depth;
extern USHORT *chk_maxdepth;

extern ULONG chk_accumsize;
extern ULONG chk_easize;
extern ULONG chk_neacnt;

#ifdef PAW3
extern ULONG chk_lof_offset;
#endif

#ifdef DEBUG
extern USHORT chk_minstk;
#endif

extern PUCHAR *chk_casemap;
extern PUCHAR *chk_dbcs_flag;
extern PUCHAR chk_valid_cps;
extern USHORT chk_cp_index;
extern USHORT chk_cp_recovery;
extern USHORT chk_cp_count;

extern struct DIRBLK dbstruc;

extern USHORT hfileChkPipe;

#ifdef  V4FORMAT        /* @d01 */
extern char  chk_repair_disk;       /* flag to indicate if disk was repaired */
#endif
