- Commit of new status monitor

This commit is contained in:
koennecke
2007-01-29 05:36:36 +00:00
parent 4ef7bc5cc0
commit 8f2826b267
4 changed files with 560 additions and 0 deletions

21
statemon.h Normal file
View File

@ -0,0 +1,21 @@
/**
* This is a state monitor. It collects all the start and stop messages
* from the device executor and from scan and batch commands. Clients can
* listen to this in order to figure out what is actually going on in a
* given SICS installation. This might in the end supersede the status code
* managment in status.c
*
* copyright: see file COPYRIGHT
*
* Mark Koennecke, January 2007
*/
#ifndef STATEMON_H_
#define STATEMON_H_
typedef struct __STATEMON *pStateMon;
/*===================== The interpreter interface ===========================*/
int StateMonFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int StateMonAction(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
#endif /*STATEMON_H_*/