]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virxml: Add function to check if string contains some illegal chars
authorSławek Kapłoński <slawek@kaplonski.pl>
Wed, 19 Oct 2016 20:57:46 +0000 (22:57 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Oct 2016 10:49:22 +0000 (18:49 +0800)
commit7a2216460f8a67c305364d69d33847a3b845e708
tree09eabae31f4bcf102e8823797bffd2ac213c1913
parent5f2a132786da3727349a168418dce9cb3e0e54a2
virxml: Add function to check if string contains some illegal chars

This new function can be used to check if e.g. name of XML
node don't contains forbidden chars like "/" or "\n".

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt_private.syms
src/util/virxml.c
src/util/virxml.h