24 buffer_putsflush(buffer_2,
"qreceipt: fatal: out of memory\n");
die_temp(); }
26 buffer_putsflush(buffer_2,
"qreceipt: fatal: unable to fork\n");
die_temp(); }
28 buffer_putsflush(buffer_2,
"qreceipt: fatal: permanent qmail-queue error\n");
die(); }
30 buffer_putsflush(buffer_2,
"qreceipt: fatal: temporary qmail-queue error\n");
die_temp(); }
32 buffer_putsflush(buffer_2,
33 "qreceipt: usage: qreceipt deliveryaddress\n");
die(); }
36 buffer_putsflush(buffer_2,
"qreceipt: fatal: read error\n");
die_temp(); }
38 if (r == 1)
return;
if (r == -1)
die_nomem();
39 buffer_putsflush(buffer_2,
"qreceipt: fatal: unable to parse this: ");
40 buffer_putflush(buffer_2,
sa->s,
sa->len);
die(); }
85Hi! This is the qreceipt program. Your message was delivered to the\n\
123int main(
int argc,
char *
const *argv)
int headerbody(buffer *b, void(*dohf)(), void(*hdone)(), void(*dobl)())
int hfield_known(char *s, int len)
#define H_NOTICEREQUESTEDUPONDELIVERYTO
void h(char *, char *, int, int, int)
void qmail_to(struct qmail *, char *)
void qmail_from(struct qmail *, char *)
void qmail_put(struct qmail *, char *, int)
char * qmail_close(struct qmail *)
void qmail_puts(struct qmail *, char *)
int qmail_open(struct qmail *)
void doheaderfield(stralloc *h)
int rwnotice(token822_alloc *addr)
void doordie(stralloc *sa, int r)
int quote2(stralloc *, char *)
int token822_parse(token822_alloc *ta, stralloc *sa, stralloc *buf)
stralloc stralloc *int token822_addrlist(token822_alloc *, token822_alloc *, token822_alloc *, int(*)())
int token822_unquote(stralloc *, token822_alloc *)
void token822_reverse(token822_alloc *)