#ifndef RQCARDBLOCKDESCRIPTIONSPROTECTED_H
#define RQCARDBLOCKDESCRIPTIONSPROTECTED_H

#include "RQRawScan.h"

typedef enum
{
	// These should be integer powers of 2.
	RQ_CBDIsCRCCheckPresent = 1
} RQ_CardBlockDescriptionFlags ;

typedef struct
{
	unsigned long size ;	// In bytes: Does not include CRC if present.
	RQ_CardBlockDescriptionFlags flags ; 
	unsigned long reserved ;
} RQ_CardBlockDescription ;

RQ_API NDTS_Boolean CALL_CONV RQ_CreateRawScanBScanDescriptions(RQ_RawScan *pRawScan, RQ_CardBlockDescription **ppDescriptions, unsigned long *pNumberOfDescriptions) ;
RQ_API NDTS_Boolean CALL_CONV RQ_CreateRawGateValueDescriptions(RQ_RawScan *pRawScan, RQ_CardBlockDescription **ppDescriptions, unsigned long *pNumberOfDescriptions) ;
RQ_API void CALL_CONV RQ_FreeRawDescriptions(RQ_CardBlockDescription *pDescriptions);



#endif