aboutsummaryrefslogtreecommitdiffstats
path: root/src/fsm.c
AgeCommit message (Expand)AuthorFilesLines
8 daysadd identifier sanitation for setting FSM instance idsNeels Hofmeyr1-0/+29
8 daysfsm: support graceful osmo_fsm_inst_term() cascadesNeels Hofmeyr1-6/+142
8 daysfsm: add flag to ensure osmo_fsm_inst_term() happens only onceNeels Hofmeyr1-0/+6
2019-03-25Doxygen: fix incorrect / missing parameter descriptionVadim Yanitskiy1-1/+1
2019-03-07fsm: add osmo_fsm_inst_state_chg_keep_or_start_timer()Neels Hofmeyr1-6/+45
2019-03-06represent negative T-timers as Osmocom-specific X-timersNeels Hofmeyr1-9/+15
2019-02-26log: fsm: allow logging the timeout on state changeNeels Hofmeyr1-2/+39
2019-02-04add osmo_tdef API, originally adopted from osmo-bsc T_defNeels Hofmeyr1-0/+4
2019-01-31osmo_fsm_inst_state_chg(): clamp timeout_secs to <= ~68 yearsNeels Hofmeyr1-1/+13
2019-01-29osmo_fsm_inst_state_chg(): set T also for zero timeoutNeels Hofmeyr1-7/+14
2018-11-16fsm: fix apidoc of osmo_fsm_state_name()Philipp Maier1-1/+1
2018-05-31add osmo_fsm_inst_state_chg_keep_timer()Neels Hofmeyr1-30/+64
2018-05-15fsm: guard action callbackPhilipp Maier1-1/+3
2018-04-09add osmo_fsm_inst_update_id_f()Neels Hofmeyr1-22/+45
2018-04-09cosmetic: osmo_fsm_inst_update_id(): don't log "allocate"Neels Hofmeyr1-2/+3
2018-04-09fsm: id: properly set name in case of NULL idNeels Hofmeyr1-5/+3
2018-04-09osmo_fsm_inst_find_by_name(): guard against strcmp(NULL)Neels Hofmeyr1-0/+5
2018-03-19fsm: Update the name as well if the id is updated and accept NULLDaniel Willmann1-14/+22
2018-02-26print BIG FAT ERROR message if osmo_fsm lacks event namesStefan Sperling1-0/+2
2018-02-19fsm: allow graceful exit on FSM terminationPhilipp Maier1-2/+13
2018-02-15fsm: Add a function to change the FSM instance ID laterDaniel Willmann1-6/+25
2018-02-09Revert "fsm: do not terminate child FSMs early"Harald Welte1-4/+3
2018-02-09fsm: do not terminate child FSMs earlyPhilipp Maier1-3/+4
2018-01-24fsm: add functions for unlinking and changing parentsPhilipp Maier1-3/+34
2018-01-17fsm: fix double llist_del in osmo_fsm_inst_term()Philipp Maier1-2/+3
2017-11-25fsm_tmr_cb: don't set T=0, the fi may no longer existNeels Hofmeyr1-4/+5
2017-11-13Fix/Update copyright notices; Add SPDX annotationHarald Welte1-0/+2
2017-10-24fsm: Enforce FSM and FSM instance names are valid osmocom identifiersHarald Welte1-1/+12
2017-06-23doxygen: unify use of \file across the boardNeels Hofmeyr1-5/+5
2017-06-23doxygen: enable AUTOBRIEF, drop \briefNeels Hofmeyr1-14/+14
2017-06-22fsm.c: Fix compilation warning: Use PRIu32 for uint32_tPau Espin Pedrol1-3/+4
2017-06-12update/extend doxygen documentationHarald Welte1-4/+2
2017-05-09timer: add osmo_timer_setup()Pablo Neira Ayuso1-2/+1
2017-04-16fsm: Re-set fsm_inst->T to 0 after timer expirationHarald Welte1-1/+4
2017-04-16osmo_fsm: Lookup functions to find FSM Instance by name or IDHarald Welte1-0/+24
2017-01-07fsm: Add VTY introspection of osmo_fsm and their instancesHarald Welte1-3/+3
2017-01-07Add osmo_fsm_find_by_name() and avoid registering FSM with same nameHarald Welte1-1/+13
2016-12-24fsm: term: get parent pointer as late as possibleNeels Hofmeyr1-1/+4
2016-12-24fsm: factor out osmo_fsm_inst_term_children() from osmo_fsm_inst_term()Neels Hofmeyr1-20/+42
2016-12-24fsm: move LOGPFSMSRC and LOGPFSMLSRC to .hNeels Hofmeyr1-13/+0
2016-12-24fsm: log calling file+line for error "event for NULL fi"Neels Hofmeyr1-2/+3
2016-12-24fsm: doc: add missing file, line args; fix ws + tweak on one lineNeels Hofmeyr1-1/+7
2016-12-21fsm: log tweak: upon free, say 'Freeing instance'Neels Hofmeyr1-1/+1
2016-12-21utils.h: add OSMO_STRINGIFY and OSMO_VALUE_STRING macrosNeels Hofmeyr1-7/+5
2016-12-20fsm: term: safer iteration to remove all child FSMsNeels Hofmeyr1-4/+20
2016-12-16fsm: explicitly log removal from parent fsmNeels Hofmeyr1-0/+3
2016-12-15add value strings for enum osmo_fsm_term_cause and use for loggingNeels Hofmeyr1-1/+13
2016-12-14typo in comment for osmo_fsm_log_addr()Neels Hofmeyr1-1/+1
2016-12-14fsm: log caller's source for events and state changes, not fsm.c linesNeels Hofmeyr1-17/+45
2016-12-14fsm: add LOGPFSML to pass explicit logging levelNeels Hofmeyr1-9/+6