PSI sics-cvs-psi-2006
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
#line 260 "evcontroller.w"
|
||||
#line 265 "evcontroller.w"
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
Environment device driver datastructure
|
||||
@@ -12,7 +12,7 @@
|
||||
#define DEVREDO 2
|
||||
|
||||
|
||||
#line 85 "evcontroller.w"
|
||||
#line 87 "evcontroller.w"
|
||||
|
||||
typedef struct __EVDriver {
|
||||
int (*SetValue)(pEVDriver self, float fNew);
|
||||
@@ -24,13 +24,14 @@
|
||||
int (*GetError)(pEVDriver self, int *iCode,
|
||||
char *pError, int iErrLen);
|
||||
int (*TryFixIt)(pEVDriver self, int iCode);
|
||||
int (*SavePars)(pEVDriver self, FILE *fil);
|
||||
int (*Init)(pEVDriver self);
|
||||
int (*Close)(pEVDriver self);
|
||||
void *pPrivate;
|
||||
void (*KillPrivate)(void *pData);
|
||||
} EVDriver;
|
||||
|
||||
#line 271 "evcontroller.w"
|
||||
#line 276 "evcontroller.w"
|
||||
|
||||
/*-------------------- life & death of a driver --------------------------*/
|
||||
pEVDriver CreateEVDriver(int argc, char *argv[]);
|
||||
|
||||
Reference in New Issue
Block a user