#ifndef _MUTT_LIBESMTP_H
#define _MUTT_LIBESMTP_H
-#if defined (USE_LIBESMTP) && (defined (USE_SSL) || defined (USE_GNUTLS))
+#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);
+ 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 /* !_MUTT_LIBESMTP_H */