[dpdk-dev] [PATCH v4] cfgfile: support looking up sections by index

2016-02-19 Thread Dumitrescu, Cristian
> -Original Message- > From: Rich Lane [mailto:rich.lane at bigswitch.com] > Sent: Tuesday, February 16, 2016 10:59 PM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian ; Panu Matilainen > > Subject: [PATCH v4] cfgfile: support looking up sections by index > > This is useful when section

[dpdk-dev] [PATCH v4] cfgfile: support looking up sections by index

2016-02-16 Thread Rich Lane
This is useful when sections have duplicate names. Signed-off-by: Rich Lane --- v3->v4: - Added section name return value. - Updated API docs for other functions. v2->v3 - Added check for index < 0. v1->v2: - Added new symbol to version script. lib/librte_cfgfile/rte_cfgfile.c | 18 ++