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
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 */
void FsmRestartTask(Fsm *task, FsmFunc func);