Use gsskrb5_register_acceptor_identity
[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
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 */