state: add struct state_components
authorRan Benita <ran234@gmail.com>
Mon, 22 Oct 2012 17:19:43 +0000 (19:19 +0200)
committerRan Benita <ran234@gmail.com>
Mon, 22 Oct 2012 19:55:43 +0000 (21:55 +0200)
commit550cb24d3c0a27815f7dd48324208baed72cb281
treea42292ea5a8995615c22ce57bbbb39819a3a6c69
parent6a94b122a4dde3e8f59d69f9a388e9a77c343326
state: add struct state_components

This holds all of the state component fields in the state in one struct.
We will later want to keep the previous state components after updates,
so this will allow us to do it without duplicating the fields.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/state.c