client: Add command mode and agent mode helper functions
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 24 Apr 2013 10:24:16 +0000 (13:24 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 3 May 2013 14:10:10 +0000 (17:10 +0300)
commit26497cb23cf58a115ced964419b2d770411117d4
treed0158d789acaccca9743b6dc6044391c764cbf13
parentf8f4f7e80278d0e6d0711156a81581cc368f64f4
client: Add command mode and agent mode helper functions

In command mode remember history and do command completion, in agent mode
do neither. Enable saving and restoring of the readline prompt and add
the GIOChannel watch also for non-interactive mode.
client/input.c
client/input.h