Re: [Xen-devel] [PATCH v3 10/12] xenstore: add helper functions for wire argument parsing

2016-11-12 Thread Wei Liu
On Fri, Nov 11, 2016 at 09:00:08AM +0100, Juergen Gross wrote: > The xenstore wire command argument parsing of the different commands > is repeating some patterns multiple times. Add some helper functions > to avoid the duplicated code. > > Signed-off-by: Juergen Gross Acked-by: Wei Liu __

[Xen-devel] [PATCH v3 10/12] xenstore: add helper functions for wire argument parsing

2016-11-11 Thread Juergen Gross
The xenstore wire command argument parsing of the different commands is repeating some patterns multiple times. Add some helper functions to avoid the duplicated code. Signed-off-by: Juergen Gross --- tools/xenstore/xenstored_core.c | 66 ++-- tools/xenstore/xenstored_d