Re: [libvirt] [PATCH v2 1/3] util: virbuffer: introduce virBufferEscapeN

2017-02-24 Thread Ján Tomko
On Thu, Feb 23, 2017 at 09:36:16PM +0100, Pavel Hrdina wrote: +/** + * virBufferEscapeN: + * @buf: the buffer to append to + * @format: a printf like format string but with only one %s parameter + * @str: the string argument which needs to be escaped + * @...: the variable list of arguments

[libvirt] [PATCH v2 1/3] util: virbuffer: introduce virBufferEscapeN

2017-02-23 Thread Pavel Hrdina
Signed-off-by: Pavel Hrdina --- src/libvirt_private.syms | 1 + src/util/virbuffer.c | 101 +++ src/util/virbuffer.h | 2 + tests/virbuftest.c | 41 +++ 4 files changed, 145 insertions(+) diff