commit | edc15c3a352f6136ab9ed106624fb43624df3cfb | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@exceliance.fr> | Fri Dec 13 15:36:59 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Mar 17 18:06:07 2014 +0100 |
tree | b8d97884d2c198c7eab513ec6fc0e1a35433ebb4 | |
parent | b9b08460a2fa974f08114c0790d5379dd27a6c4c [diff] |
MEDIUM: pattern: The parse functions just return "struct pattern" without memory allocation The pattern parse functions put the parsed result in a "struct pattern" without memory allocation. If the pattern must reference the input data without changes, the pattern point to the parsed string. If buffers are needed to store translated data, it use th trash buffer. The indexation function that allocate the memory later if it is needed.