console: allow setting/resetting flags
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 30 May 2012 15:54:31 +0000 (17:54 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 30 May 2012 15:59:37 +0000 (17:59 +0200)
commitcce9a5df15521f70930f258e141eb8f669566ea0
tree529de6888caf074cc6beb14f807fbf5b582fb32c
parent6cd591a91289e2297725802a32e4c9ca7faf2b9e
console: allow setting/resetting flags

Instead of writing a function for each mode we now accept flags for the
console object. For now the flags are unused but other flags will be
added.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/console.c
src/console.h