/*static char *SCCSID = "@(#)pr_bitmp.h	6.4 92/01/31";*/
#include "PR_BITMP.NAM"

/* Prototypes for all BITMAP\ functions */

	extern BOOL ADB (USHORT cBMLeft,
			BOOL fBkwd,
			PBYTE pbBitMap,
			PBYTE pbLowestBit,
			PULONG poffulFoundAdr);

	extern BOOL ADBBand( PBANDTAB pbtb,
			     LSN lsnTarget,
			     PLSN plsnFirst,
			     PFRAME pfrm);

	extern BOOL AllocDB (LSN lsnNearby,
			PLSN plsnFirstFound,
			PFRAME pfrm);

	extern USHORT CBR (ULONG offulStart, PFRAME pfrm);

//	extern void ClrBit (LSN lsnFirstToClr,
	extern BOOL ClrBit (LSN lsnFirstToClr,
			ULONG culBitsToClr,
			BOOL fFile,
			PFRAME pfrm);

	extern void FreeDB (LSN lsnFirstToFree, PFRAME pfrm);

//	extern void SetBit (LSN lsnFirstToFree,
	extern BOOL SetBit (LSN lsnFirstToFree,
			ULONG culToFree,
			PFRAME pfrm);

	extern BOOL SFB (USHORT cBitsReq,
			 USHORT cbToSearch,
			 PBYTE	pbStart,
			 PUSHORT poffusFirstFound);

	extern BOOL SFBCB (USHORT cBitsReq,
			 USHORT cbToSearch,
			 PBYTE	pbStart,
			 PUSHORT poffusFirstFound);

	extern BOOL VBR (USHORT cusGoalBitNum,
			 ULONG ulCheckPt,
			 PFRAME pfrm);
#include "PR_BITMP.SEG"
