]> git.itanic.dy.fi Git - log-plotter/commit
Add primitive config file parsing support
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Tue, 29 Oct 2013 19:41:26 +0000 (21:41 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Thu, 31 Oct 2013 19:17:43 +0000 (21:17 +0200)
commit84ab13170c021724847f80663c9136ec8badac57
treebbc058245e210b4cd70ac280f2086f71ea390d91
parentd44a215cef8d81a7dbb0f52168f5cca2cfc31aed
Add primitive config file parsing support

This supports parsing "variable = value" style lines from a config
file. The file can also have blank lines and comments starting with
'#' character. Anything it doesn't understand are skipped.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
Makefile
config.c [new file with mode: 0644]
config.h [new file with mode: 0644]
main.c
options.c
options.h