cfgfile: rework load function
authorJacek Piasecki <jacekx.piasecki@intel.com>
Fri, 22 Sep 2017 09:44:49 +0000 (11:44 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 8 Oct 2017 22:50:48 +0000 (00:50 +0200)
commita6a47ac9c2c909226e65808f0d8aca1109931e9c
tree028df86d066648304a392440fb1e0ecff13be272
parentd4cb8197589d645b74d5ee8fe27649030717b7ab
cfgfile: rework load function

New functions added to cfgfile library make it possible
to significantly simplify the code of rte_cfgfile_load_with_params()

This patch shows the new body of this function.

Signed-off-by: Jacek Piasecki <jacekx.piasecki@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_cfgfile/rte_cfgfile.c