10 if (
a->
value)
if (!stralloc_copys(
a->
value,
""))
return 0;
11 if (
a->
copy)
if (!stralloc_copys(
a->
copy,
""))
return 0;
13 if (
a->
addr)
if (!stralloc_copys(
a->
addr,
""))
return 0;
29 int wsp, pos, i, j, colon = 0;
36 if (ch ==
':') {colon = pos;
break; }
51 if ((ch !=
' ') && (ch !=
'\t'))
break;
54 if (pos < h->inprogress.len) {
71 if (ch ==
'\r')
continue;
72 if (wsp && (ch ==
' ' || ch ==
'\t'))
continue;
73 wsp = (ch ==
' ' || ch ==
'\t') ? 1 : 0;
87 if (ch ==
'\n') ch = 0;
88 if (!stralloc_append(
a->
value,&ch))
return 0;
90 if (!stralloc_append(
a->
value,
"\n"))
return 0;
109 if (!s->len)
return 1;
111 if ((s->s[0] ==
' ') || (s->s[0] ==
'\t'))
int mess822_begin(mess822_header *h, mess822_action *a)
int mess822_end(mess822_header *h)
int mess822_line(mess822_header *h, stralloc *s)
int mess822_when(mess822_time *, char *)
int mess822_addrlist(stralloc *, char *)