Hi,
I would like to use function pointers to code a state machine.
That is if I have the following events possible in 2 states S1, S2

S1: E1, E2
S2: E3, E4

and I have processing functions...