X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_libesmtp.h;h=1fef3be8ec99df25297cf00e2191062937302a3b;hp=d813b3aee2d08e7d28db08464f7c761a05bd7a48;hb=74f4cb56b87554a520eb94b02b91a3ea09c8a564;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/mutt_libesmtp.h b/mutt_libesmtp.h index d813b3a..1fef3be 100644 --- a/mutt_libesmtp.h +++ b/mutt_libesmtp.h @@ -7,12 +7,19 @@ * please see the file GPL in the top level source directory. */ -#if !defined(LIBESMTP_H) -#define LIBESMTP_H +#ifndef _MUTT_LIBESMTP_H +#define _MUTT_LIBESMTP_H -int mutt_invoke_libesmtp (ADDRESS * from, /* the sender */ - ADDRESS * to, ADDRESS * cc, ADDRESS * bcc, /* recips */ +#ifdef USE_LIBESMTP +#if (defined (USE_SSL) || defined (USE_GNUTLS)) +int mutt_libesmtp_check_usetls (const char* option, unsigned long p, + char* errbuf, ssize_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 */