Initial revision
This commit is contained in:
45
status.h
Normal file
45
status.h
Normal file
@ -0,0 +1,45 @@
|
||||
/*--------------------------------------------------------------------------
|
||||
|
||||
The Status object. Holds the current status of the SICS server.
|
||||
|
||||
Mark Koennecke, November 1996
|
||||
copyright: see implementation file
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifndef SICSSTATUS
|
||||
#define SICSSTATUS
|
||||
|
||||
typedef enum {
|
||||
eEager,
|
||||
eUserWait,
|
||||
eCounting,
|
||||
eOutOfBeam,
|
||||
ePaused,
|
||||
eDriving,
|
||||
eRunning,
|
||||
eScanning,
|
||||
eBatch,
|
||||
eHalted,
|
||||
eDead,
|
||||
eInput
|
||||
} Status;
|
||||
|
||||
/* for status display */
|
||||
void SetStatus(Status eNew);
|
||||
int SetStatusFromText(char *text);
|
||||
void KillStatus(void *pData);
|
||||
|
||||
Status GetStatus(void);
|
||||
void GetStatusText(char *buf, int iBufLen);
|
||||
int UserStatus(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int ResetStatus(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
int BackupStatus(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
int RestoreStatus(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user