MINOR: standard: add function "escape_string"
authorDragan Dosen <ddosen@haproxy.com>
Fri, 22 Jul 2016 14:00:31 +0000 (16:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 Jul 2016 13:25:32 +0000 (15:25 +0200)
commit1a5d06032b989f81c13dee32ea297ede6f1e8b94
treebc3b80acb5b8b65f61349ff4eb46ed5f89b92985
parent3146a4cde2cff2d28f63402037b284946e75fa03
MINOR: standard: add function "escape_string"

Similar to "escape_chunk", this function tries to prefix all characters
tagged in the <map> with the <escape> character. The specified <string>
contains the input to be escaped.
include/common/standard.h
src/standard.c