Extend fsm_free() API to support deep free
commit566333ee5b824e0152418257ce5a957fde21d626
authorStathis Kamperis <ekamperi@auth.gr>
Wed, 31 Oct 2007 17:04:05 +0000 (31 19:04 +0200)
committerStathis Kamperis <ekamperi@auth.gr>
Wed, 31 Oct 2007 17:04:05 +0000 (31 19:04 +0200)
tree07290f4ab359045ff774ceb43bae68b329f4db67
parentdc2175a1b136b59a38a2e496bf4669f6a881ae41
Extend fsm_free() API to support deep free
Normally the user/programmer must explicitly call
state_free() for every state that has been initialized
with state_init().
Sometimes, though, it is useful to blow the whole FSM
hierarchy with a single function call, e.g. when
handling fatal errors.
misc/fsm/fsm.c
misc/fsm/fsm.h
misc/fsm/test_rmcom.c
misc/fsm/types.h