Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / xsasl / xsasl_cyrus_common.h
blob3e4472efc39a6f91756b72f4f03bb6e4c51d6b31
1 /* $NetBSD$ */
3 #ifndef _CYRUS_COMMON_H_INCLUDED_
4 #define _CYRUS_COMMON_H_INCLUDED_
6 /*++
7 /* NAME
8 /* cyrus_common 3h
9 /* SUMMARY
10 /* Cyrus SASL plug-in helpers
11 /* SYNOPSIS
12 /* #include <cyrus_common.h>
13 /* DESCRIPTION
14 /* .nf
17 * External interface.
19 #if defined(USE_SASL_AUTH) && defined(USE_CYRUS_SASL)
21 #define NO_SASL_LANGLIST ((const char *) 0)
22 #define NO_SASL_OUTLANG ((const char **) 0)
23 #define xsasl_cyrus_strerror(status) \
24 sasl_errstring((status), NO_SASL_LANGLIST, NO_SASL_OUTLANG)
25 extern int xsasl_cyrus_log(void *, int, const char *);
26 extern int xsasl_cyrus_security_parse_opts(const char *);
28 #endif
30 /* LICENSE
31 /* .ad
32 /* .fi
33 /* The Secure Mailer license must be distributed with this software.
34 /* AUTHOR(S)
35 /* Wietse Venema
36 /* IBM T.J. Watson Research
37 /* P.O. Box 704
38 /* Yorktown Heights, NY 10598, USA
39 /*--*/
41 #endif