1 /* $Cambridge: exim/src/src/auths/spa.h,v 1.3 2006/02/07 11:19:01 ph10 Exp $ */
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
7 /* Copyright (c) University of Cambridge 1995 - 2006 */
8 /* See the file NOTICE for conditions of use and distribution. */
10 /* This file, which provides support for Microsoft's Secure Password
11 Authentication, was contributed by Marc Prud'hommeaux. */
16 /* Private structure for the private options. */
22 uschar
*spa_serverpassword
;
23 } auth_spa_options_block
;
25 /* Data for reading the private options. */
27 extern optionlist auth_spa_options
[];
28 extern int auth_spa_options_count
;
30 /* Block containing default values. */
32 extern auth_spa_options_block auth_spa_option_defaults
;
34 /* The entry points for the mechanism */
36 extern void auth_spa_init(auth_instance
*);
37 extern int auth_spa_server(auth_instance
*, uschar
*);
38 extern int auth_spa_client(auth_instance
*, smtp_inblock
*,
39 smtp_outblock
*, int, uschar
*, int);