]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: buffer: Add support for adding text blocks with indentation
authorPeter Krempa <pkrempa@redhat.com>
Tue, 24 Mar 2015 09:53:29 +0000 (10:53 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Mar 2015 14:42:52 +0000 (15:42 +0100)
commit6ff59cbc8367856f12f4eef5755eeccade36d8cf
tree8ab5018d1832f918a0976d10e70a99864d69c3f2
parentdb1edae8951dab99232fba4b33c28f5d412ecb41
util: buffer: Add support for adding text blocks with indentation

The current auto-indentation buffer code applies indentation only on
complete strings. To allow adding a string containing newlines and
having it properly indented this patch adds virBufferAddStr.
src/libvirt_private.syms
src/util/virbuffer.c
src/util/virbuffer.h
tests/virbuftest.c