Re: [ovs-dev] [RFC HSA 1/4] ovs_list: Extend list functions.

2015-03-30 Thread Alex Wang
Thx a lot for the suggested changes~, I really did it the hard way! The changes are simple and clean! really like it, Adopt them all, Thanks, Alex Wang, On Mon, Mar 30, 2015 at 9:19 PM, Ben Pfaff wrote: > On Mon, Mar 30, 2015 at 03:46:26PM -0700, Alex Wang wrote: > > This commit adds functio

Re: [ovs-dev] [RFC HSA 1/4] ovs_list: Extend list functions.

2015-03-30 Thread Ben Pfaff
On Mon, Mar 30, 2015 at 03:46:26PM -0700, Alex Wang wrote: > This commit adds function that allows the appending of one list > content to the other. Also, it adds functions which allows list > to be sorted. > > Signed-off-by: Alex Wang I always like new basic algorithms! > +/* Appends 'src''s

[ovs-dev] [RFC HSA 1/4] ovs_list: Extend list functions.

2015-03-30 Thread Alex Wang
This commit adds function that allows the appending of one list content to the other. Also, it adds functions which allows list to be sorted. Signed-off-by: Alex Wang --- lib/list.h| 67 + tests/library.at |2 +- tests/test-list.c | 106 ++