rewrite the config parser
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Jan 2011 01:36:49 +0000 (17:36 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Jan 2011 01:36:49 +0000 (17:36 -0800)
commitaa0b2bbbfe637eddd30d9eaad0ecfa33b2d045e8
treedb74b08a0407a54277c6571d395a52bc4bcd6561
parentebb02c9a5cd5e47ff7b6dd70af8388783e313433
rewrite the config parser

Instead of a hand-tuned string compare functions that were needed
for every single config option, use a "real" parser to properly handle
key/value pairs.  This handles quoting of lines and other fun things.

Logic is based on code from udev, written by Kay Sievers, licensed under
the GPLv2+.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
config.c