Merge branch 'debian'
[hcoop/debian/exim4.git] / src / auths / spa.h
CommitLineData
420a0d19
CE
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
9Authentication, was contributed by Marc Prud'hommeaux. */
10
11
12#include "auth-spa.h"
13
14/* Private structure for the private options. */
15
16typedef 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
25extern optionlist auth_spa_options[];
26extern int auth_spa_options_count;
27
28/* Block containing default values. */
29
30extern auth_spa_options_block auth_spa_option_defaults;
31
32/* The entry points for the mechanism */
33
34extern void auth_spa_init(auth_instance *);
35extern int auth_spa_server(auth_instance *, uschar *);
2ea97746 36extern int auth_spa_client(auth_instance *, void *, int, uschar *, int);
420a0d19
CE
37
38/* End of spa.h */