Add connected substate

This patch renames 'state' static variable in order to add substate
concept and make the code more readable. It is a cosmetic change that
doesn't change the logic.
1 file changed
tree: 0b53e398174e546f936ffd432834ce969b7b62ea
  1. examples/
  2. src/
  3. .gitignore
  4. AUTHORS
  5. COPYING
  6. Makefile
  7. README