(* ByteStream.Edf *)
Function CheckpointBs(	pBSWA		:	Pointer):Word;Extern;

Function CloseByteStream(pBSWA		:	Pointer):Word;Extern;

Function GetBsLfa(	pBSWA		:	Pointer;
			plfaRet		:	Pointer):Word;Extern;

Function OpenByteStream(pBSWA		:	Pointer;
			pbFilespec	:	Pointer;
			cbFileSpec	:	Word;
			pbPassword	:	Pointer;
			cbPassword	:	Word;
			Mode		:	Word;
			pBufferArea	:	Pointer;
			sBufferArea	:	Word):Word;Extern;

Function QueryVisBs(	pBSWA		:	Pointer;
			pBsStatRet	:	Pointer):Word;Extern;

Function ReadBsRecord(	pBSWA		:	Pointer;
			pBufferRet	:	Pointer;
			sBufferMax	:	Word;
			psDataRet	:	Pointer):Word;Extern;

Function ReadByte(	pBSWA		:	Pointer;
			pbRet		:	Pointer):Word;Extern;

Function ReadBytes(	pBSWA		:	Pointer;
			cbMax		:	Word;
			ppbret		:	Pointer;
			pcbret		:	Pointer):Word;Extern;

Function SetBsLfa(	pBSWA		:	Pointer;
			lfa		:	Integer4):Word;Extern;

Function SetImageMode(	pBSWA		:	Pointer;
			mode		:	Word):Word;Extern;

Function WriteBsRecord(	pBSWA		:	Pointer;
			pb		:	Pointer;
			cb		:	Word;
			pcbRet		:	Pointer):Word;Extern;

Function WriteByte(	pBSWA		:	Pointer;
			b		:	Byte):Word;Extern;

