some simplifications.
[apps/madmutt.git] / mutt_libesmtp.h
1 /*
2  * Copyright notice from original mutt:
3  * [none]
4  *
5  * This file is part of mutt-ng, see http://www.muttng.org/.
6  * It's licensed under the GNU General Public License,
7  * please see the file GPL in the top level source directory.
8  */
9
10 #ifndef _MUTT_LIBESMTP_H
11 #define _MUTT_LIBESMTP_H
12
13 #if defined (USE_LIBESMTP) && (defined (USE_SSL) || defined (USE_GNUTLS))
14 int mutt_libesmtp_check_usetls (const char* option, unsigned long p,
15                                 char* errbuf, size_t errlen);
16 #endif
17
18 int mutt_libesmtp_invoke (address_t * from,       /* the sender */
19                           address_t * to, address_t * cc, address_t * bcc,    /* recips */
20                           const char *msg,      /* file containing message */
21                           int eightbit);        /* message contains 8bit chars */
22
23 #endif /* !_MUTT_LIBESMTP_H */