[libvirt] [PATCH v3 02/14] util: Implement virStringFilterLines()

2018-05-04 Thread Stefan Berger
Implement virStringFilterLines() that takes as an input a buffer with text and extracts each line that contains a given needle. The size of each re- turned line can be restricted and if it is restricted '...' will automa- tically be appended. Signed-off-by: Stefan Berger --- src/util/virstring.c

Re: [libvirt] [PATCH v3 02/14] util: Implement virStringFilterLines()

2018-05-08 Thread John Ferlan
On 05/04/2018 04:21 PM, Stefan Berger wrote: > Implement virStringFilterLines() that takes as an input a buffer with text > and extracts each line that contains a given needle. The size of each re- > turned line can be restricted and if it is restricted '...' will automa- > tically be appended. >