httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Kellermann <...@duempel.org>
Subject obsolete functions?
Date Sun, 06 Feb 2005 15:01:30 GMT
I noticed the following functions, but couldn't explain their use in
libapreq2:

 apreq_quote
 apreq_quote_once
 apreq_memmem

apreq_quote is used by apreq_join with APREQ_JOIN_QUOTE, but I do not
see yet how this option helps apreq2. apreq_memmem is not used at all.

Why are both apreq_encode and apreq_escape exported? apreq_encode is
potentially unsafe - you need a 3*length+1 buffer in the worst case;
this is not explicitly documented. We should only export the safe
equivalent function apreq_escape.

Max


Mime
View raw message