numam-dpdk/lib/librte_cfgfile
Allain Legacy f3b1a6981f cfgfile: support configurable comment character
The current cfgfile comment character is hardcoded to ';'.  This commit a
new API to allow the user to specify which comment character to use while
parsing the file.

This is to ease adoption by applications that have an existing
configuration file which may use a different comment character.  For
instance, an application may already have a configuration file that uses
the '#' as the comment character.

The approach of using a new API with an extensible parameters structure was
used rather than simply adding a new argument to the existing API to allow
for additional arguments to be introduced in the future.

Signed-off-by: Allain Legacy <allain.legacy@windriver.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2017-04-04 16:32:06 +02:00
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_cfgfile_version.map cfgfile: support configurable comment character 2017-04-04 16:32:06 +02:00
rte_cfgfile.c cfgfile: support configurable comment character 2017-04-04 16:32:06 +02:00
rte_cfgfile.h cfgfile: support configurable comment character 2017-04-04 16:32:06 +02:00