]> err.no Git - varnish/commit
Move the body of cli_quote() to vsb_quote() and give it a, presently
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 18 Jan 2009 14:50:20 +0000 (14:50 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 18 Jan 2009 14:50:20 +0000 (14:50 +0000)
commit804a432ab556a6244edcb40d3f964b68211592cb
tree7f39c7f585be866f02f89f48bb28ccbda84677d3
parent16bd6e278f3071507771a49bac3ed1ccc5f0123b
Move the body of cli_quote() to vsb_quote() and give it a, presently
unused, "how" argument flag.

We currently have far too many "quote this string properly" implementations
in varnish, hopefully, this will replace most of them.

Once this stabilizes, vsb_quote() will be contributed back to FreeBSD.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3515 d4fa192b-c00b-0410-8231-f00ffab90ce4
varnish-cache/include/vsb.h
varnish-cache/lib/libvarnish/cli_common.c
varnish-cache/lib/libvarnish/vsb.c