1 /* $NetBSD: xsasl_cyrus.h,v 1.1.1.2 2012/06/09 11:27:28 tron Exp $ */ 2 3 #ifndef _XSASL_CYRUS_H_INCLUDED_ 4 #define _XSASL_CYRUS_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* xsasl_cyrus 3h 9 /* SUMMARY 10 /* Cyrus SASL plug-in 11 /* SYNOPSIS 12 /* #include <xsasl_cyrus.h> 13 /* DESCRIPTION 14 /* .nf 15 16 /* 17 * XSASL library. 18 */ 19 #include <xsasl.h> 20 21 #if defined(USE_SASL_AUTH) && defined(USE_CYRUS_SASL) 22 23 /* 24 * SASL protocol interface 25 */ 26 #define XSASL_TYPE_CYRUS "cyrus" 27 28 extern XSASL_SERVER_IMPL *xsasl_cyrus_server_init(const char *, const char *); 29 extern XSASL_CLIENT_IMPL *xsasl_cyrus_client_init(const char *, const char *); 30 31 /* 32 * Internal definitions for client and server module. 33 */ 34 typedef int (*XSASL_CYRUS_CB) (void); 35 36 #endif 37 38 /* LICENSE 39 /* .ad 40 /* .fi 41 /* The Secure Mailer license must be distributed with this software. 42 /* AUTHOR(S) 43 /* Wietse Venema 44 /* IBM T.J. Watson Research 45 /* P.O. Box 704 46 /* Yorktown Heights, NY 10598, USA 47 /*--*/ 48 49 #endif 50