f3b1a6981f
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>
30 lines
415 B
Plaintext
30 lines
415 B
Plaintext
DPDK_2.0 {
|
|
global:
|
|
|
|
rte_cfgfile_close;
|
|
rte_cfgfile_get_entry;
|
|
rte_cfgfile_has_entry;
|
|
rte_cfgfile_has_section;
|
|
rte_cfgfile_load;
|
|
rte_cfgfile_num_sections;
|
|
rte_cfgfile_section_entries;
|
|
rte_cfgfile_section_num_entries;
|
|
rte_cfgfile_sections;
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_16.04 {
|
|
global:
|
|
|
|
rte_cfgfile_section_entries_by_index;
|
|
|
|
} DPDK_2.0;
|
|
|
|
DPDK_17.05 {
|
|
global:
|
|
|
|
rte_cfgfile_load_with_params;
|
|
|
|
} DPDK_16.04;
|