- improvements in protocols and drivers
This commit is contained in:
7
ease.h
7
ease.h
@ -22,8 +22,8 @@ Markus Zolliker, March 2005
|
||||
|
||||
#define EASE_RUN 0
|
||||
|
||||
typedef enum { EASE_connecting, EASE_notconnected,
|
||||
EASE_idle, EASE_read, EASE_expect, EASE_lost
|
||||
typedef enum { EASE_offline, EASE_notconnected, EASE_connecting,
|
||||
EASE_idle, EASE_abort, EASE_read, EASE_expect, EASE_lost
|
||||
} EaseState;
|
||||
typedef enum { EASE_notMonitored, EASE_inTolerance,
|
||||
EASE_outOfTolerance } EaseTolState;
|
||||
@ -41,6 +41,7 @@ typedef struct {
|
||||
int errCode; /* error code of last operation. not changed on success */
|
||||
EaseState state;
|
||||
time_t cmdtime;
|
||||
time_t chktime;
|
||||
int syntax; /* not used in ease, may be used by the driver. used by oxinst.c */
|
||||
char cmd[64];
|
||||
char ans[64];
|
||||
@ -89,7 +90,7 @@ void EaseKillDriv(EaseDriv * ead);
|
||||
void EaseDrivPar(void *object, char *fmt, char *unit);
|
||||
void EasePchk(void *drv);
|
||||
void EaseParHasChanged(void);
|
||||
void EaseStop(EaseBase * eab);
|
||||
void EaseStop(EaseBase * eab, char *reason);
|
||||
int EaseCheckDoit(EaseBase * eab);
|
||||
int EaseNextFullRead(EaseBase * eab);
|
||||
|
||||
|
Reference in New Issue
Block a user