25 if ((ch2 >=
'A') && (ch2 <=
'Z')) ch2 += 32;
26 if (((ch2 >=
'a') && (ch2 <=
'z')) ||
27 ((ch2 >=
'0') && (ch2 <=
'9')) ||
28 (ch2 ==
'-') || (ch2 ==
'_')) {
33 buf[3] =
'0' + (ch3 & 7); ch3 >>= 3;
34 buf[2] =
'0' + (ch3 & 7); ch3 >>= 3;
35 buf[1] =
'0' + (ch3 & 7);
int dns_domain_todot_cat(stralloc *out, const char *d)
int stralloc_catb(stralloc *, const char *, unsigned int)
int stralloc_append(stralloc *sa, const char *in)