#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"} |
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
nps_domain_t _Nps_DataCheck = {"DataCheck"} |
nps_errorType_t _Nps_FileFormatError = {"NPSML File Format Error"} |