input: Move all input state into parsefile
commit51781428ead9a2142795764d0c42abfd9bb47171
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 Jan 2015 11:42:32 +0000 (5 22:42 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 Jan 2015 11:58:52 +0000 (5 22:58 +1100)
tree3a1109598708b81a945dbaa411cb575e22308fa2
parentd0e170e595a024aa5e4ec53a30f833f07f8cb849
input: Move all input state into parsefile

Currently we maintain a copy of the input state outside of parsefile.
This is redundant and makes reentrancy difficult.  This patch kills
the duplicate global states and now everyone simply uses parsefile.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
src/input.c
src/input.h