Back to all

state-machines

by Amin Alam

50Feb 7, 2026Visit Source
typedef state_t (*handler_fn)(void); typedef struct { state_t state; handler_fn fn; } state_entry_t;