CLEANUP: tools: removing escape_chunk() function

Func is not used anymore. See e3bde807d.
This commit is contained in:
Aurelien DARRAGON
2022-09-20 14:41:38 +02:00
committed by Christopher Faulet
parent c5bff8e550
commit ae1e14d65b
2 changed files with 0 additions and 44 deletions

View File

@@ -435,18 +435,6 @@ char *escape_string(char *start, char *stop,
const char escape, const long *map,
const char *string, const char *string_stop);
/*
* Tries to prefix characters tagged in the <map> with the <escape>
* character. <chunk> contains the input to be escaped. The result will be
* stored between <start> (included) and <stop> (excluded). The function
* will always try to terminate the resulting string with a '\0' before
* <stop>, and will return its position if the conversion completes.
*/
char *escape_chunk(char *start, char *stop,
const char escape, const long *map,
const struct buffer *chunk);
/* Check a string for using it in a CSV output format. If the string contains
* one of the following four char <">, <,>, CR or LF, the string is
* encapsulated between <"> and the <"> are escaped by a <""> sequence.