1 /*	$NetBSD: xsasl_cyrus_common.h,v 1.1.1.1 2009/06/23 10:09:02 tron Exp $	*/
2 
3 #ifndef _CYRUS_COMMON_H_INCLUDED_
4 #define _CYRUS_COMMON_H_INCLUDED_
5 
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
15 
16  /*
17   * External interface.
18   */
19 #if defined(USE_SASL_AUTH) && defined(USE_CYRUS_SASL)
20 
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 *);
27 
28 #endif
29 
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 /*--*/
40 
41 #endif
42