conf: introduce conf_parse_file_f()
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 18 Oct 2012 12:10:48 +0000 (14:10 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 18 Oct 2012 12:22:55 +0000 (14:22 +0200)
commit5cd14efb8055ba51c647fa8b5a57e6e612a8bf63
tree968a3da20059476d2e17f2043cca276e3ffb3263
parent35d7cc33ecb3fde27d2f96a93099b1a74858b814
conf: introduce conf_parse_file_f()

This new helper allows easily parsing arbitrary filenames. It does the
same as conf_parse_file() but allows giving filenames in printf format.

The other parsers are slightly adjusted so they can be more easily reused
by other projects.

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