annotate mail.h @ 9:8966edef462a
Add more uw_strdup, which seems to avoid problems from reuse of memory
author |
Adam Chlipala <adam@chlipala.net> |
date |
Thu, 04 Feb 2016 17:50:25 -0500 |
parents |
33bf7ee17644 |
children |
|
rev |
line source |
adam@0
|
1 #include <urweb.h>
|
adam@0
|
2
|
adam@0
|
3 typedef struct headers *uw_Mail_headers;
|
adam@0
|
4
|
adam@0
|
5 extern uw_Mail_headers uw_Mail_empty;
|
adam@0
|
6
|
adam@0
|
7 uw_Mail_headers uw_Mail_from(uw_context, uw_Basis_string, uw_Mail_headers);
|
adam@0
|
8 uw_Mail_headers uw_Mail_to(uw_context, uw_Basis_string, uw_Mail_headers);
|
adam@0
|
9 uw_Mail_headers uw_Mail_cc(uw_context, uw_Basis_string, uw_Mail_headers);
|
adam@0
|
10 uw_Mail_headers uw_Mail_bcc(uw_context, uw_Basis_string, uw_Mail_headers);
|
adam@0
|
11 uw_Mail_headers uw_Mail_subject(uw_context, uw_Basis_string, uw_Mail_headers);
|
adam@0
|
12
|
adam@0
|
13 uw_unit uw_Mail_send(uw_context, uw_Mail_headers, uw_Basis_string body, uw_Basis_string xbody);
|