.
This commit is contained in:
2
fsm.h
2
fsm.h
@ -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);
|
||||
|
Reference in New Issue
Block a user