#ifndef RQTERRORINTERNAL_H
#define RQTERRORINTERNAL_H

#include "DataCollectionError.h"

#ifdef __cplusplus
extern "C" {
#endif


// Summary of the error return from rq.dll.  Don't take action on OK or NonFatalError.
typedef enum
{
	DCES_OK, 
	DCES_OutOfMemory, 
	DCES_NonFatalError, 
	DCES_FatalError
} DC_ErrorSummary ;

void DC_HandleError(DC_ReturnCode errorCode);

// Pass the RQ return code to this function to record an RQT error
// Returns false if the error is fatal or true if the error can be ignored
NDTS_Boolean DC_IsErrorNonFatal();

DC_ErrorSummary DC_GetLastErrorSummary(void);


#ifdef __cplusplus
}
#endif

#endif