OpenShoe  1.0
Functions | Variables
system_states.c File Reference

Declaration of external system states. More...

#include "control_tables.h"

Functions

void system_states_init (void)

Variables

state_t_infostate_info_access_by_id [SID_LIMIT]
External state information

Structs containing information and pointers to the externally accessible system states.


Detailed Description

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.

Authors:
John-Olof Nilsson, Isaac Skog
 All Data Structures Files Functions Variables Typedefs Defines