Merge branch 'debian'
[hcoop/debian/exim4.git] / src / auths / cyrus_sasl.h
CommitLineData
420a0d19
CE
1/*************************************************
2* Exim - an Internet mail transport agent *
3*************************************************/
4
5/* Copyright (c) University of Cambridge 1995 - 2012 */
6/* See the file NOTICE for conditions of use and distribution. */
7
8/* Copyright (c) A L Digital Ltd 2004 */
9
10/* Private structure for the private options. */
11
12typedef struct {
13 uschar *server_service;
14 uschar *server_hostname;
15 uschar *server_realm;
16 uschar *server_mech;
17} auth_cyrus_sasl_options_block;
18
19/* Data for reading the private options. */
20
21extern optionlist auth_cyrus_sasl_options[];
22extern int auth_cyrus_sasl_options_count;
23
24/* Block containing default values. */
25
26extern auth_cyrus_sasl_options_block auth_cyrus_sasl_option_defaults;
27
28/* The entry points for the mechanism */
29
30extern void auth_cyrus_sasl_init(auth_instance *);
31extern int auth_cyrus_sasl_server(auth_instance *, uschar *);
2ea97746 32extern int auth_cyrus_sasl_client(auth_instance *, void *, int, uschar *, int);
420a0d19
CE
33extern void auth_cyrus_sasl_version_report(FILE *f);
34
35/* End of cyrus_sasl.h */