Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
libosmocore
/
796c6513726af46e997518fa18afc7a3477c951a
/
src
/
fsm.c
b1bbe24
fsm: refuse state chg and events after term
by Neels Hofmeyr
· 5 years ago
988f6d7
add osmo_fsm_set_dealloc_ctx(), to help with use-after-free
by Neels Hofmeyr
· 5 years ago
dbdd4f0
avoid gcc format error on embedded builds
by Harald Welte
· 5 years ago
a08edff
Revert "fsm.c: Print error message for FSM with allstate_action but no events"
by Vadim Yanitskiy
· 5 years ago
b3f94eb
fsm.c: Print error message for FSM with allstate_action but no events
by Harald Welte
· 5 years ago
cb5e831
fsm: Reduce amount of copy+pasted LOGPFSMSRC() statements
by Harald Welte
· 5 years ago
7b74551
fsm: Allow millisecond granularity in osmo_fsm built-in timer
by Harald Welte
· 5 years ago
171ef82
make all library-internal static buffers thread-local
by Harald Welte
· 6 years ago
c9a28a6
fix typo in FSM description
by Kévin Redon
· 5 years ago
b480b74
add identifier sanitation for setting FSM instance ids
by Neels Hofmeyr
· 5 years ago
1f9cc01
fsm: support graceful osmo_fsm_inst_term() cascades
by Neels Hofmeyr
· 6 years ago
3b414a4
fsm: add flag to ensure osmo_fsm_inst_term() happens only once
by Neels Hofmeyr
· 6 years ago
2f65bb1
Doxygen: fix incorrect / missing parameter description
by Vadim Yanitskiy
· 6 years ago
d4b79c8
fsm: add osmo_fsm_inst_state_chg_keep_or_start_timer()
by Neels Hofmeyr
· 6 years ago
5734bff
represent negative T-timers as Osmocom-specific X-timers
by Neels Hofmeyr
· 6 years ago
050f2d3
log: fsm: allow logging the timeout on state change
by Neels Hofmeyr
· 6 years ago
0fd615f
add osmo_tdef API, originally adopted from osmo-bsc T_def
by Neels Hofmeyr
· 6 years ago
89991fd
osmo_fsm_inst_state_chg(): clamp timeout_secs to <= ~68 years
by Neels Hofmeyr
· 6 years ago
bd5a1dc
osmo_fsm_inst_state_chg(): set T also for zero timeout
by Neels Hofmeyr
· 6 years ago
af6710f
fsm: fix apidoc of osmo_fsm_state_name()
by Philipp Maier
· 6 years ago
407df02
add osmo_fsm_inst_state_chg_keep_timer()
by Neels Hofmeyr
· 6 years ago
3d4fb59
fsm: guard action callback
by Philipp Maier
· 6 years ago
a64c45a
add osmo_fsm_inst_update_id_f()
by Neels Hofmeyr
· 7 years ago
6e8c088
cosmetic: osmo_fsm_inst_update_id(): don't log "allocate"
by Neels Hofmeyr
· 6 years ago
71f76a1
fsm: id: properly set name in case of NULL id
by Neels Hofmeyr
· 7 years ago
2bcc873
osmo_fsm_inst_find_by_name(): guard against strcmp(NULL)
by Neels Hofmeyr
· 6 years ago
04a2a32
fsm: Update the name as well if the id is updated and accept NULL
by Daniel Willmann
· 7 years ago
888dc7d
print BIG FAT ERROR message if osmo_fsm lacks event names
by Stefan Sperling
· 7 years ago
d1f5793
fsm: allow graceful exit on FSM termination
by Philipp Maier
· 7 years ago
b0c43a6
fsm: Add a function to change the FSM instance ID later
by Daniel Willmann
· 7 years ago
6590044
Revert "fsm: do not terminate child FSMs early"
by Harald Welte
· 7 years ago
5ec9198
fsm: do not terminate child FSMs early
by Philipp Maier
· 7 years ago
2a06a49
fsm: add functions for unlinking and changing parents
by Philipp Maier
· 7 years ago
23d3161
fsm: fix double llist_del in osmo_fsm_inst_term()
by Philipp Maier
· 7 years ago
19ec7b9
fsm_tmr_cb: don't set T=0, the fi may no longer exist
by Neels Hofmeyr
· 7 years ago
e08da97
Fix/Update copyright notices; Add SPDX annotation
by Harald Welte
· 7 years ago
8c4f545
fsm: Enforce FSM and FSM instance names are valid osmocom identifiers
by Harald Welte
· 7 years ago
17518fe
doxygen: unify use of \file across the board
by Neels Hofmeyr
· 7 years ago
87e4550
doxygen: enable AUTOBRIEF, drop \brief
by Neels Hofmeyr
· 7 years ago
4f8857e
fsm.c: Fix compilation warning: Use PRIu32 for uint32_t
by Pau Espin Pedrol
· 7 years ago
96e2a00
update/extend doxygen documentation
by Harald Welte
· 7 years ago
44f423f
timer: add osmo_timer_setup()
by Pablo Neira Ayuso
· 7 years ago
9e83c3d
fsm: Re-set fsm_inst->T to 0 after timer expiration
by Harald Welte
· 7 years ago
4585e67
osmo_fsm: Lookup functions to find FSM Instance by name or ID
by Harald Welte
· 7 years ago
3419391
fsm: Add VTY introspection of osmo_fsm and their instances
by Harald Welte
· 8 years ago
8808bb4
Add osmo_fsm_find_by_name() and avoid registering FSM with same name
by Harald Welte
· 8 years ago
3faa014
fsm: term: get parent pointer as late as possible
by Neels Hofmeyr
· 8 years ago
c014f60
fsm: factor out osmo_fsm_inst_term_children() from osmo_fsm_inst_term()
by Neels Hofmeyr
· 8 years ago
eeacf90
fsm: move LOGPFSMSRC and LOGPFSMLSRC to .h
by Neels Hofmeyr
· 8 years ago
c7155df
fsm: log calling file+line for error "event for NULL fi"
by Neels Hofmeyr
· 8 years ago
b805cc1
fsm: doc: add missing file, line args; fix ws + tweak on one line
by Neels Hofmeyr
· 8 years ago
7309e19
fsm: log tweak: upon free, say 'Freeing instance'
by Neels Hofmeyr
· 8 years ago
1808096
utils.h: add OSMO_STRINGIFY and OSMO_VALUE_STRING macros
by Neels Hofmeyr
· 8 years ago
06ac9b4
fsm: term: safer iteration to remove all child FSMs
by Neels Hofmeyr
· 8 years ago
2ae5f18
fsm: explicitly log removal from parent fsm
by Neels Hofmeyr
· 8 years ago
5c5c78a
add value strings for enum osmo_fsm_term_cause and use for logging
by Neels Hofmeyr
· 8 years ago
a3953e0
typo in comment for osmo_fsm_log_addr()
by Neels Hofmeyr
· 8 years ago
725698a
fsm: log caller's source for events and state changes, not fsm.c lines
by Neels Hofmeyr
· 8 years ago
6a13e7f
fsm: add LOGPFSML to pass explicit logging level
by Neels Hofmeyr
· 8 years ago
3de97e1
Add logging and testing for FSM deallocation
by Max
· 8 years ago
61281f4
Fix typo in osmo_fsm_log_addr()
by Max
· 8 years ago
460f9ef
fsm: Make sure we call 'onenter' of new state, not old state
by Harald Welte
· 8 years ago
02a6672
fsm: delete the timer when changing state
by Harald Welte
· 8 years ago
f323911
fsm: talloc + copy the 'id' passed into a FSM
by Harald Welte
· 8 years ago
673018f
fsm: call 'onenter' as last step of a state change
by Harald Welte
· 8 years ago
f627c0f
fsm: Introduce default time-out handling
by Harald Welte
· 8 years ago
136e737
Add Finite State Machine abstraction code
by Harald Welte
· 8 years ago