]> git.itanic.dy.fi Git - log-plotter/commit
config.c: Add support for replacing variables names from strings
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 29 Dec 2013 11:41:37 +0000 (13:41 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 29 Dec 2013 11:41:37 +0000 (13:41 +0200)
commit6100946ec13ca780c199b5202995c03c963dede1
tree7b3fc4fd177e753b9143f9913e962786b8303a0c
parentf4695fc44c2d2ea6a2ace36dbddbc7ca3791d284
config.c: Add support for replacing variables names from strings

Read all unknown config options from the config file and store them in
the config variable array.

Implement a new function that can be used to replace variable names
from a string with the contents of the variable name in question.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
config.c
config.h