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.
Showing
想要评论请 注册 或 登录