This commit is contained in:
zolliker
2007-02-23 12:33:36 +00:00
parent c0605b2398
commit 9c464bcd61
3 changed files with 3 additions and 3 deletions

2
fsm.h
View File

@ -45,7 +45,7 @@ typedef int (*FsmHandler)(void *obj);
/* the prototype for the handler. Should return 0 when waiting for an answer /* the prototype for the handler. Should return 0 when waiting for an answer
or 1 when result is o.k. */ or 1 when result is o.k. */
Fsm *FsmStartTask(void *obj, FsmHandler handler, FsmFunc func); Fsm *FsmStartTask(void *obj, FsmHandler handler, FsmFunc func, char *name);
/* start a task and return a pointer to it */ /* start a task and return a pointer to it */
void FsmRestartTask(Fsm *task, FsmFunc func); void FsmRestartTask(Fsm *task, FsmFunc func);

View File

@ -22,7 +22,7 @@ OBJ=psi.o buffer.o ruli.o dmc.o nxsans.o nextrics.o sps.o pimotor.o \
MZOBJ=fsm.o logger.o sugar.o pardef.o ease.o strobj.o oxinst.o logreader.o \ MZOBJ=fsm.o logger.o sugar.o pardef.o ease.o strobj.o oxinst.o logreader.o \
ipsdriv.o ilmdriv.o itcdriv.o ighdriv.o euro2kdriv.o modbus.o arrobj.o \ ipsdriv.o ilmdriv.o itcdriv.o ighdriv.o euro2kdriv.o modbus.o arrobj.o \
lscsupport.o lsc370driv.o linadriv.o linahdl.o lscsupport.o lsc370driv.o linadriv.o haakedriv.o
libpsi.a: $(OBJ) libpsi.a: $(OBJ)
rm -f libpsi.a rm -f libpsi.a

View File

@ -124,7 +124,7 @@ typedef struct ParData {
*/ */
void ParFmt(char *fmt); /* format (float only) */ void ParFmt(char *fmt); /* format (float only) */
void ParAccess(int access); /* access rights (default usInternal = read only) */ void ParAccess(int access); /* access rights (default usInternal = read only) */
void ParSave(int save); /* save on status file void ParSave(int save); /* save on status file (0: do not svae, 1: save, 2: saved by driver
(default: 0 for ParAccess(usInternal), 1 for others) */ (default: 0 for ParAccess(usInternal), 1 for others) */
void ParEnum(char *list[]); /* automatic keyword to number conversion */ void ParEnum(char *list[]); /* automatic keyword to number conversion */
void ParList(char *group); /* ParList may be repeated with several group arguments, void ParList(char *group); /* ParList may be repeated with several group arguments,