kvargs: add generic string matching callback
authorGaetan Rivet <gaetan.rivet@6wind.com>
Wed, 11 Jul 2018 21:45:02 +0000 (23:45 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Jul 2018 21:44:22 +0000 (23:44 +0200)
commita3b85476c51ee54e7e5d228b09ba702d2b20e6fb
tree2cc7da25f488898a8196d8513ee73e9fa26057e8
parentac1a511eff3ff92bf2a2aef3cfb74d63ab1eeac8
kvargs: add generic string matching callback

This function can be used as a callback to
rte_kvargs_process.

This should reduce code duplication.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_kvargs/rte_kvargs.c
lib/librte_kvargs/rte_kvargs.h
lib/librte_kvargs/rte_kvargs_version.map