X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_libesmtp.h;h=ef72a8d682d3a7b300f150ce424af55e88e03f1b;hp=c69bf4a1416dbeaea39ffeac3a79e2576b36796d;hb=923e295d2cd179be0ab05890c9788bb822b1b340;hpb=df70e07e24add1869bcc9b7af2277d9d0c09a281 diff --git a/mutt_libesmtp.h b/mutt_libesmtp.h index c69bf4a..ef72a8d 100644 --- a/mutt_libesmtp.h +++ b/mutt_libesmtp.h @@ -1,9 +1,25 @@ -#if !defined(LIBESMTP_H) -#define LIBESMTP_H +/* + * Copyright notice from original mutt: + * [none] + * + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. + */ -int mutt_invoke_libesmtp (ADDRESS * from, /* the sender */ - ADDRESS * to, ADDRESS * cc, ADDRESS * bcc, /* recips */ +#ifndef _MUTT_LIBESMTP_H +#define _MUTT_LIBESMTP_H + +#ifdef USE_LIBESMTP +#if (defined (USE_SSL) || defined (USE_GNUTLS)) +int mutt_libesmtp_check_usetls (const char* option, unsigned long p, + char* errbuf, size_t errlen); +#endif + +int mutt_libesmtp_invoke (address_t * from, /* the sender */ + address_t * to, address_t * cc, address_t * bcc, /* recips */ const char *msg, /* file containing message */ int eightbit); /* message contains 8bit chars */ +#endif -#endif /* !defined(LIBESMTP_H) */ +#endif /* !_MUTT_LIBESMTP_H */