It gives a user the option of aborting a batch file if their code detects an error. r2192 | ffr | 2007-10-23 12:46:16 +1000 (Tue, 23 Oct 2007) | 3 lines
13 lines
475 B
C
13 lines
475 B
C
#ifndef ANSTOUTIL_H
|
|
#define ANSTOUTIL_H
|
|
#define _REQUIRED 1
|
|
#define _OPTIONAL 0
|
|
#define ERRLEN 256
|
|
#define FAILURE 0
|
|
#define SUCCESS 1
|
|
char *getParam(SConnection *pCon, Tcl_Interp *pTcl, char *params, char *parName, int mustHave );
|
|
int portNumCmd(SConnection *pCon, SicsInterp *pInter, void *pData, int argc, char *argv[]);
|
|
int getPortNum(SConnection *pCon, char *portName);
|
|
int AbortBatch(SConnection *pCon, SicsInterp *pInter, void *pData, int argc, char *argv[]);
|
|
#endif
|