43 #define APR_ESCAPE_STRING (-1)
48 #define APR_ESCAPE_LDAP_DN (0x01)
53 #define APR_ESCAPE_LDAP_FILTER (0x02)
58 #define APR_ESCAPE_LDAP_ALL (0x03)
73 apr_ssize_t slen, apr_size_t *len);
88 __attribute__((nonnull(1)));
108 apr_ssize_t slen, const
char *forbid, const
char *reserved,
int plus,
128 const
char *forbid, const
char *reserved,
int plus)
129 __attribute__((nonnull(1)));
142 const
char *str, apr_ssize_t slen, apr_size_t *len);
153 const
char *str) __attribute__((nonnull(1)));
175 apr_ssize_t slen,
int partial, apr_size_t *len);
196 int partial) __attribute__((nonnull(1)));
210 apr_ssize_t slen, apr_size_t *len);
222 const
char *str) __attribute__((nonnull(1)));
241 apr_ssize_t slen,
int toasc, apr_size_t *len);
255 int toasc) __attribute__((nonnull(1)));
273 apr_ssize_t slen, apr_size_t *len);
288 __attribute__((nonnull(1)));
310 apr_ssize_t slen,
int quote, apr_size_t *len);
342 apr_size_t srclen,
int colon, apr_size_t *len);
355 apr_size_t slen,
int colon) __attribute__((nonnull(1)));
368 apr_ssize_t slen,
int colon, apr_size_t *len);
382 int colon, apr_size_t *len);
396 apr_ssize_t srclen,
int flags, apr_size_t *len);
411 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)
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