70 st_report(
"Added %.2f to Ignored Scan Array", scan);
93 st_report(
"Removing %.2f from Ignored Scan Array", scan);
99 st_fail(
"Scan %.2f not found in removeIgnore()", scan);
200 st_report(
"Clearing out all Ignored Scans");
211 char *string, line[256], fname[256];
216 st_warn(
"Missing arg for readIgnoreFile()");
222 if((fp = fopen(fname,
"r") ) <= (FILE *)0)
224 fprintf(stderr,
"Unable to open file %s\n", fname);
228 while((
string = fgets(line,
sizeof(line), fp)) != NULL)
252 st_fail(
"Can't Add/Remove scan %.2f", scan);
278 sprintf(cmdBuf,
"get %.2f", scan);
281 sprintf(cmdBuf,
"show");
290 sprintf(cmdBuf,
"ignore %.2f", scan * -1.0);
309 st_report(
"Reviewed %d Ignoreed Scans", j);
struct PARSE_STACK * args
int deNewLineIt(char *buf)
int removeIgnore(double scan)
char tok[MAX_TOKENS][MAX_TOKENS]
double ignoredscans[MAX_IGNORED]
int addIgnore(double scan)
int isScanIgnored(double scan)