Commit | Line | Data |
---|---|---|
0756eb3c PH |
1 | /************************************************* |
2 | * Exim - an Internet mail transport agent * | |
3 | *************************************************/ | |
4 | ||
0a49a7a4 | 5 | /* Copyright (c) University of Cambridge 1995 - 2009 */ |
0756eb3c PH |
6 | /* See the file NOTICE for conditions of use and distribution. */ |
7 | ||
8 | /* This file, which provides support for Microsoft's Secure Password | |
9 | Authentication, was contributed by Marc Prud'hommeaux. */ | |
10 | ||
11 | ||
12 | #include "auth-spa.h" | |
13 | ||
14 | /* Private structure for the private options. */ | |
15 | ||
16 | typedef struct { | |
17 | uschar *spa_username; | |
18 | uschar *spa_password; | |
19 | uschar *spa_domain; | |
20 | uschar *spa_serverpassword; | |
21 | } auth_spa_options_block; | |
22 | ||
23 | /* Data for reading the private options. */ | |
24 | ||
25 | extern optionlist auth_spa_options[]; | |
26 | extern int auth_spa_options_count; | |
27 | ||
28 | /* Block containing default values. */ | |
29 | ||
30 | extern auth_spa_options_block auth_spa_option_defaults; | |
31 | ||
32 | /* The entry points for the mechanism */ | |
33 | ||
34 | extern void auth_spa_init(auth_instance *); | |
35 | extern int auth_spa_server(auth_instance *, uschar *); | |
36 | extern int auth_spa_client(auth_instance *, smtp_inblock *, | |
37 | smtp_outblock *, int, uschar *, int); | |
38 | ||
39 | /* End of spa.h */ |