OpenShoe
1.0
|
Declaration of external system states. More...
#include "control_tables.h"
Functions | |
void | system_states_init (void) |
Variables | |
state_t_info * | state_info_access_by_id [SID_LIMIT] |
External state information | |
Structs containing information and pointers to the externally accessible system states. |
Declaration of external system states.
This files contain extern declaration and definition of static state structs for all external states. External states mean that these states might be requested from the system. Consequently, if any states are to be output from the system, they should be added here.
The file also contain an initialization function to fill up some arrays of states structs. This initialization function must be called before the arrays are used. This should eventually be replaced by some code generating script which explicitly declear the arrays.