Commit | Line | Data |
---|---|---|
c988f1f4 | 1 | /* $Cambridge: exim/src/src/auths/spa.h,v 1.2 2005/01/04 10:00:43 ph10 Exp $ */ |
0756eb3c PH |
2 | |
3 | /************************************************* | |
4 | * Exim - an Internet mail transport agent * | |
5 | *************************************************/ | |
6 | ||
c988f1f4 | 7 | /* Copyright (c) University of Cambridge 1995 - 2005 */ |
0756eb3c PH |
8 | /* See the file NOTICE for conditions of use and distribution. */ |
9 | ||
10 | /* This file, which provides support for Microsoft's Secure Password | |
11 | Authentication, was contributed by Marc Prud'hommeaux. */ | |
12 | ||
13 | ||
14 | #include "auth-spa.h" | |
15 | ||
16 | /* Private structure for the private options. */ | |
17 | ||
18 | typedef struct { | |
19 | uschar *spa_username; | |
20 | uschar *spa_password; | |
21 | uschar *spa_domain; | |
22 | uschar *spa_serverpassword; | |
23 | } auth_spa_options_block; | |
24 | ||
25 | /* Data for reading the private options. */ | |
26 | ||
27 | extern optionlist auth_spa_options[]; | |
28 | extern int auth_spa_options_count; | |
29 | ||
30 | /* Block containing default values. */ | |
31 | ||
32 | extern auth_spa_options_block auth_spa_option_defaults; | |
33 | ||
34 | /* The entry points for the mechanism */ | |
35 | ||
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); | |
40 | ||
41 | /* End of spa.h */ |