// Data record used to hold the state information.
typedefstruct
{
cmRptPrintFunc_tprintFuncPtr;//< Application supplied callback text printing function as set from printFunc argument to cmRptSetup().
cmRptPrintFunc_terrorFuncPtr;//< Application supplied callback error printing function as set from the errFunc argument to cmRptSetup().
void*userPtr;//< Application supplied callback argument (cmRptUserPtr in cmRptPrintFunc_t) to be passed back to the application with each call to printFuncPtr() or errorFuncPtr().
}cmRpt_t;
// A global cmRpt_t object which can be used to initialze another cmRpt_t.
externcmRpt_tcmRptNull;
// The host application calls cmRptSetup() to initialize a cmRpt object.