kmscon: move config-handling to kmscon_conf.c
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 10 Oct 2012 19:30:54 +0000 (21:30 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 10 Oct 2012 19:32:12 +0000 (21:32 +0200)
commit26949d961aa8ff3c8f7c3338955632e9f45ba20c
tree63d276c569381ecf61bfea763f0c21c7c0b48cdd
parent92386e24dd638f4df192a30285e5b14add937b1e
kmscon: move config-handling to kmscon_conf.c

Configuration handling is totally independent from kmscon_main.c so we
move it into a separate file to avoid cluttering up kmscon_main.c.

This also does some basic initialization in kmscon_conf.c which is solely
related to configuration handling and logging.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Makefile.am
src/kmscon_conf.c [new file with mode: 0644]
src/kmscon_conf.h
src/kmscon_main.c