]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: add streaming interfaces for json/xml escaping 19806/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 5 Jan 2018 17:36:18 +0000 (12:36 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 5 Jan 2018 18:26:25 +0000 (13:26 -0500)
commit688cc25755ed946394976585298099c1a754134c
tree162ff9587d0b9060ad646fd8e417035b8f096d87
parentdff9562098f0e337d372904ba55fe7ec401e5363
common: add streaming interfaces for json/xml escaping

adds stream output operators that escape json/xml strings without having
to allocate a separate output buffer

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/CMakeLists.txt
src/common/escape.c [deleted file]
src/common/escape.cc [new file with mode: 0644]
src/common/escape.h
src/test/escape.cc