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