aboutsummaryrefslogtreecommitdiffstats
path: root/src/fsm.c
AgeCommit message (Expand)AuthorFilesLines
2023-01-18Move src/*.{c,h} to src/core/Pau Espin Pedrol1-1046/+0
2022-07-29fsm: osmo_fsm_{event,inst,state}_name(): make *fi pointer constVadim Yanitskiy1-3/+3
2022-07-19fsm: fix state_chg(): pass microseconds to osmo_timer_schedule()Vadim Yanitskiy1-2/+5
2021-12-14treewide: remove FSF addressOliver Smith1-5/+0
2021-06-04fsm: cosmetic: fix weird spacing in osmo_fsm_inst_alloc()Vadim Yanitskiy1-2/+2
2020-12-21fsm: Add osmo_fsm_inst_broadcast_children()Harald Welte1-0/+20
2019-10-29fsm: refuse state chg and events after termNeels Hofmeyr1-0/+15
2019-10-29add osmo_fsm_set_dealloc_ctx(), to help with use-after-freeNeels Hofmeyr1-9/+47
2019-07-31avoid gcc format error on embedded buildsHarald Welte1-1/+1
2019-06-16Revert "fsm.c: Print error message for FSM with allstate_action but no events"Vadim Yanitskiy1-11/+0
2019-06-15fsm.c: Print error message for FSM with allstate_action but no eventsHarald Welte1-0/+11
2019-06-05fsm: Reduce amount of copy+pasted LOGPFSMSRC() statementsHarald Welte1-17/+15
2019-06-05fsm: Allow millisecond granularity in osmo_fsm built-in timerHarald Welte1-23/+31
2019-06-04make all library-internal static buffers thread-localHarald Welte1-2/+2
2019-05-09fix typo in FSM descriptionKévin Redon1-4/+4
2019-04-12add identifier sanitation for setting FSM instance idsNeels Hofmeyr1-0/+29
2019-04-11fsm: support graceful osmo_fsm_inst_term() cascadesNeels Hofmeyr1-6/+142
2019-04-11fsm: 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