util/dataCheckLib.c File Reference

#include "dataCheckLib.h"

Functions

NPS_DATACHECK_LKG int nps_dataCheckLib_isInvalid (char **result, char *inS, size_t len)
NPS_DATACHECK_LKG int processLine (char *ptr, size_t length, size_t lineNo, NPS_VOC_T *instDict, nps_error_t *err)

Variables

nps_domain_t _Nps_DataCheck = {"DataCheck"}
nps_errorType_t _Nps_FileFormatError = {"NPSML File Format Error"}

Function Documentation

NPS_DATACHECK_LKG int nps_dataCheckLib_isInvalid ( char **  result,
char *  inS,
size_t  len 
)

Check for illegal white space and non-printing ASCII characters below 128. result argument will point to the invalid character on non-zero return.

NPS_DATACHECK_LKG int processLine ( char *  ptr,
size_t  length,
size_t  lineNo,
NPS_VOC_T *  instDict,
nps_error_t err 
)

Run a batter of tests on a line of specified length. return non-zero on error, and fill in error details


Variable Documentation

nps_domain_t _Nps_DataCheck = {"DataCheck"}
nps_errorType_t _Nps_FileFormatError = {"NPSML File Format Error"}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Sun Sep 11 09:40:46 2011 for NPSML by  doxygen 1.6.3