32 end = start+in_len_max;
38 }
else if (*cp ==
'\\') {
43 }
else if (*cp ==
'\"') {
52 return (
int)(cp - start+1);
65 char **out,
size_t *out_len)
77 outp = *out = tor_malloc(len+1);
Headers for util_malloc.c.
const char * decode_qstring(const char *start, size_t in_len_max, char **out, size_t *out_len)
static int get_qstring_length(const char *start, size_t in_len_max, int *chars_out)
Macros to manage assertions, fatal and non-fatal.