Re: [dpdk-dev] [PATCH v5 2/2] cmdline: make struct rdline opaque

2021-10-08 Thread Narcisa Ana Maria Vasile
On Fri, Oct 08, 2021 at 01:10:28AM +0300, Dmitry Kozlyuk wrote: > Hide struct rdline definition and some RDLINE_* constants in order > to be able to change internal buffer sizes transparently to the user. > Add new functions: > > * rdline_new(): allocate and initialize struct rdline. > This func

[dpdk-dev] [PATCH v5 2/2] cmdline: make struct rdline opaque

2021-10-07 Thread Dmitry Kozlyuk
Hide struct rdline definition and some RDLINE_* constants in order to be able to change internal buffer sizes transparently to the user. Add new functions: * rdline_new(): allocate and initialize struct rdline. This function replaces rdline_init() and takes an extra parameter: opaque user data