1 /* $NetBSD: smtp_sasl.h,v 1.1.1.1 2009/06/23 10:08:54 tron Exp $ */ 2 3 /*++ 4 /* NAME 5 /* smtp_sasl 3h 6 /* SUMMARY 7 /* Postfix SASL interface for SMTP client 8 /* SYNOPSIS 9 /* #include "smtp_sasl.h" 10 /* DESCRIPTION 11 /* .nf 12 13 /* 14 * SASL protocol functions 15 */ 16 extern void smtp_sasl_initialize(void); 17 extern void smtp_sasl_connect(SMTP_SESSION *); 18 extern int smtp_sasl_passwd_lookup(SMTP_SESSION *); 19 extern void smtp_sasl_start(SMTP_SESSION *, const char *, const char *); 20 extern int smtp_sasl_authenticate(SMTP_SESSION *, DSN_BUF *); 21 extern void smtp_sasl_cleanup(SMTP_SESSION *); 22 23 extern void smtp_sasl_helo_auth(SMTP_SESSION *, const char *); 24 extern int smtp_sasl_helo_login(SMTP_STATE *); 25 26 extern void smtp_sasl_passivate(SMTP_SESSION *, VSTRING *); 27 extern int smtp_sasl_activate(SMTP_SESSION *, char *); 28 extern STRING_LIST *smtp_sasl_mechs; 29 30 /* LICENSE 31 /* .ad 32 /* .fi 33 /* The Secure Mailer license must be distributed with this software. 34 /* AUTHOR(S) 35 /* Initial implementation by: 36 /* Till Franke 37 /* SuSE Rhein/Main AG 38 /* 65760 Eschborn, Germany 39 /* 40 /* Adopted by: 41 /* Wietse Venema 42 /* IBM T.J. Watson Research 43 /* P.O. Box 704 44 /* Yorktown Heights, NY 10598, USA 45 /*--*/ 46