kvargs: add a new library to parse key/value arguments
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 28 Jan 2014 16:06:34 +0000 (17:06 +0100)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:01:13 +0000 (11:01 +0100)
commite1a00536c8ed65bee4e86976a0805fdc65faa741
tree27a79d5c0f0c2b3e511540ff3c70db7ed6ab67c8
parent46d4e6f7addd14cda8a7eb8822248d7d09e35cc7
kvargs: add a new library to parse key/value arguments

Copy the code from rte_eth_pcap_arg_parser.[ch], without any functional
modifications, only:
- rename functions and structure
- restyle (indentation)
- add comments (doxygen style)
- add "const" or "static" attributes, remove unneeded "inline"

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
config/defconfig_i686-default-linuxapp-gcc
config/defconfig_i686-default-linuxapp-icc
config/defconfig_x86_64-default-bsdapp-gcc
config/defconfig_x86_64-default-linuxapp-gcc
config/defconfig_x86_64-default-linuxapp-icc
lib/Makefile
lib/librte_kvargs/Makefile [new file with mode: 0644]
lib/librte_kvargs/rte_kvargs.c [new file with mode: 0644]
lib/librte_kvargs/rte_kvargs.h [new file with mode: 0644]
mk/rte.app.mk