Mercurial > email
view 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 |
line wrap: on
line source
#include <urweb.h> typedef struct headers *uw_Mail_headers; extern uw_Mail_headers uw_Mail_empty; uw_Mail_headers uw_Mail_from(uw_context, uw_Basis_string, uw_Mail_headers); uw_Mail_headers uw_Mail_to(uw_context, uw_Basis_string, uw_Mail_headers); uw_Mail_headers uw_Mail_cc(uw_context, uw_Basis_string, uw_Mail_headers); uw_Mail_headers uw_Mail_bcc(uw_context, uw_Basis_string, uw_Mail_headers); uw_Mail_headers uw_Mail_subject(uw_context, uw_Basis_string, uw_Mail_headers); uw_unit uw_Mail_send(uw_context, uw_Mail_headers, uw_Basis_string body, uw_Basis_string xbody);