Files
sics/site_ansto/anstoutil.h
Douglas Clowes 16d8498fab Add [hostnam xxx] and [testlog] commands
r3758 | dcl | 2012-10-04 14:36:30 +1000 (Thu, 04 Oct 2012) | 1 line
2012-11-15 17:39:52 +11:00

14 lines
567 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 hostNamCmd(SConnection *pCon, SicsInterp *pInter, void *pData, int argc, char *argv[]);
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