56 #define APR_ESCAPE_STRING (-1) 61 #define APR_ESCAPE_LDAP_DN (0x01) 66 #define APR_ESCAPE_LDAP_FILTER (0x02) 71 #define APR_ESCAPE_LDAP_ALL (0x03) 86 apr_ssize_t slen, apr_size_t *len);
101 __attribute__((nonnull(1)));
121 apr_ssize_t slen,
const char *forbid,
const char *reserved,
int plus,
141 const char *forbid,
const char *reserved,
int plus)
142 __attribute__((nonnull(1)));
155 const char *str, apr_ssize_t slen, apr_size_t *len);
166 const char *str) __attribute__((nonnull(1)));
188 apr_ssize_t slen,
int partial, apr_size_t *len);
209 int partial) __attribute__((nonnull(1)));
223 apr_ssize_t slen, apr_size_t *len);
235 const char *str) __attribute__((nonnull(1)));
254 apr_ssize_t slen,
int toasc, apr_size_t *len);
268 int toasc) __attribute__((nonnull(1)));
286 apr_ssize_t slen, apr_size_t *len);
301 __attribute__((nonnull(1)));
323 apr_ssize_t slen,
int quote, apr_size_t *len);
355 apr_size_t srclen,
int colon, apr_size_t *len);
368 apr_size_t slen,
int colon) __attribute__((nonnull(1)));
381 apr_ssize_t slen,
int colon, apr_size_t *len);
395 int colon, apr_size_t *len);
409 apr_ssize_t srclen,
int flags, apr_size_t *len);
424 apr_ssize_t slen,
int flags) __attribute__((nonnull(1)));
apr_status_t apr_escape_urlencoded(char *escaped, const char *str, apr_ssize_t slen, apr_size_t *len)
const char * apr_pescape_shell(apr_pool_t *p, const char *str)
apr_status_t apr_escape_entity(char *escaped, const char *str, apr_ssize_t slen, int toasc, apr_size_t *len)
apr_status_t apr_unescape_entity(char *unescaped, const char *str, apr_ssize_t slen, apr_size_t *len)
const char * apr_pescape_path(apr_pool_t *p, const char *str, int partial)
const char * apr_pescape_entity(apr_pool_t *p, const char *str, int toasc)
const void * apr_punescape_hex(apr_pool_t *p, const char *str, int colon, apr_size_t *len)
const char * apr_punescape_url(apr_pool_t *p, const char *url, const char *forbid, const char *reserved, int plus)
apr_status_t apr_escape_ldap(char *dest, const void *src, apr_ssize_t srclen, int flags, apr_size_t *len)
const char * apr_pescape_urlencoded(apr_pool_t *p, const char *str)
APR Miscellaneous library routines.
const char * apr_pescape_hex(apr_pool_t *p, const void *src, apr_size_t slen, int colon)
apr_status_t apr_escape_path(char *escaped, const char *path, apr_ssize_t slen, int partial, apr_size_t *len)
apr_status_t apr_escape_hex(char *dest, const void *src, apr_size_t srclen, int colon, apr_size_t *len)
const char * apr_pescape_echo(apr_pool_t *p, const char *str, int quote)
apr_status_t apr_unescape_hex(void *dest, const char *str, apr_ssize_t slen, int colon, apr_size_t *len)
APR Platform Definitions.
const char * apr_punescape_entity(apr_pool_t *p, const char *str)
apr_status_t apr_unescape_url(char *escaped, const char *url, apr_ssize_t slen, const char *forbid, const char *reserved, int plus, apr_size_t *len)
const char * apr_pescape_path_segment(apr_pool_t *p, const char *str)
const char * apr_pescape_ldap(apr_pool_t *p, const void *src, apr_ssize_t slen, int flags)
apr_status_t apr_escape_shell(char *escaped, const char *str, apr_ssize_t slen, apr_size_t *len)
apr_status_t apr_escape_echo(char *escaped, const char *str, apr_ssize_t slen, int quote, apr_size_t *len)
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_status_t apr_escape_path_segment(char *escaped, const char *str, apr_ssize_t slen, apr_size_t *len)
int apr_status_t
Definition: apr_errno.h:44