annotate mail.h @ 0:33bf7ee17644

Initial import from some old code
author Adam Chlipala <adam@chlipala.net>
date Sat, 03 Mar 2012 14:59:04 -0500
parents
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);