No empty .Rs/.Re
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / smtpd / smtpd_sasl_glue.h
blobdf42c74984d09cb87b0f673bed40f12571f8b549
1 /* $NetBSD$ */
3 /*++
4 /* NAME
5 /* smtpd_sasl_glue 3h
6 /* SUMMARY
7 /* Postfix SMTP server, SASL support interface
8 /* SYNOPSIS
9 /* #include "smtpd_sasl_glue.h"
10 /* DESCRIPTION
11 /* .nf
14 * SASL protocol interface
16 extern void smtpd_sasl_initialize(void);
17 extern void smtpd_sasl_activate(SMTPD_STATE *, const char *, const char *);
18 extern void smtpd_sasl_deactivate(SMTPD_STATE *);
19 extern int smtpd_sasl_authenticate(SMTPD_STATE *, const char *, const char *);
20 extern void smtpd_sasl_logout(SMTPD_STATE *);
21 extern int permit_sasl_auth(SMTPD_STATE *, int, int);
23 #define smtpd_sasl_is_active(s) ((s)->sasl_server != 0)
24 #define smtpd_sasl_set_inactive(s) ((void) ((s)->sasl_server = 0))
26 /* LICENSE
27 /* .ad
28 /* .fi
29 /* The Secure Mailer license must be distributed with this software.
30 /* AUTHOR(S)
31 /* Initial implementation by:
32 /* Till Franke
33 /* SuSE Rhein/Main AG
34 /* 65760 Eschborn, Germany
36 /* Adopted by:
37 /* Wietse Venema
38 /* IBM T.J. Watson Research
39 /* P.O. Box 704
40 /* Yorktown Heights, NY 10598, USA
41 /*--*/