Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add osmo_fsm_unregister() to header | Max | 2016-11-02 | 1 | -1/+1 |
| | | | | | | | Previously function was defined but not exposed so there were a way to register FSM but no way to unregister it. Change-Id: I2e749d896009784b77d6d5952fcc38e1c131db2b | ||||
* | fsm: Introduce default time-out handling | Harald Welte | 2016-06-27 | 1 | -1/+3 |
| | | | | | | | | | | | If a FSM doesn't specify any timer_cb, simply terminate the FSM by default on time-out. This is a reasonable default for most cases, and avoids copy+pasting a one-line timer_cb function in every FSM. Also, even if there is a timer_cb, let it have a return value to decide if the core should terminate after return from timer_cb or not. Change-Id: I0461a9593bfb729c82b7d1d1cf9f30b1079d0212 | ||||
* | Add Finite State Machine abstraction code | Harald Welte | 2016-06-16 | 1 | -0/+135 |
This code is supposed to formalize some of the state machine handling in Osmocom code. Change-Id: I0b0965a912598c1f6b84042a99fea9d522642466 Reviewed-on: https://gerrit.osmocom.org/163 Tested-by: Jenkins Builder Reviewed-by: Harald Welte <laforge@gnumonks.org> |