numam-dpdk/lib/librte_cfgfile
Allain Legacy 1a5efe7499 cfgfile: support global properties section
The current implementation of the cfgfile library requires that all
key=value pairs be within [SECTION] definitions.  The ini file standard
allows for key=value pairs in an unnamed section.

   https://en.wikipedia.org/wiki/INI_file#Global_properties

This commit adds the capability of parsing key=value pairs from such an
unnamed section. The CFG_FLAG_GLOBAL_SECTION flag must be passed to the
rte_cfgfile_load() API to enable this functionality.  Any key=value pairs
found before the first section can be accessed in the section named
"GLOBAL".

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 looking up sections by index 2016-02-29 11:28:31 +01:00
rte_cfgfile.c cfgfile: support global properties section 2017-04-04 16:32:06 +02:00
rte_cfgfile.h cfgfile: support global properties section 2017-04-04 16:32:06 +02:00