#define C_CRB_NBMAXMODULE 50
#define C_CRB_NBMAXBLOC 100

#define C_CRB_NEW 0
#define C_CRB_ADD 1

typedef struct tdstBloc_
{
	unsigned long ulModuleNumber;
	unsigned long ulBlocNumber;
	unsigned long ulBeginBloc;
	unsigned long ulEndBloc;
	unsigned long ulFreeSpace;
	unsigned long ulMaxSpace;
	unsigned long ulSize;
	unsigned long * cMemory;
	unsigned char ucLocation;               // Block in fix, in level, or elsewhere...
} tdstBloc;

extern unsigned long g_ulNbBloc;
extern tdstBloc *g_p_stMemory0[C_CRB_NBMAXBLOC];
extern unsigned long g_ulNbPtr;


unsigned long CRB_fn_bReadAllMemoryBlocks(char *szFilename,struct tdstBloc_** p_stMemory,unsigned char ucMode);
unsigned long CRB_fn_bReadPtrBlocks(char *szFilename ,struct tdstBloc_** p_stMemory, char *szFileTypeName );
