rasd: Parse config file for events to enable

The file 'rasd.cfg' is parsed for options:
 .the events to enable are stored line by line. The format is 'sys:name',
 .a line starting with '#' is a comment and is ignored,
 .a line full of spaces and/or tabs is empty and is ignored.

Boris: rewrite cfg_valid_line() to use regex(3). We want to select only
the "interesting" lines and ignore everything else.

Signed-off-by: Jean Pihet <jean.pihet@linaro.org>
Link: http://lkml.kernel.org/r/1412933690-25576-4-git-send-email-jean.pihet@linaro.org
Signed-off-by: Borislav Petkov <bp@suse.de>
1 file changed
tree: 113023e0c200cbda3441ca11c36c320e805c1d98
  1. include/
  2. src/
  3. .gitignore