BUGFIX: forced-fail smtp option tls_sni would dereference NULL
[exim.git] / src / src / auths / cyrus_sasl.h
CommitLineData
0756eb3c
PH
1/*************************************************
2* Exim - an Internet mail transport agent *
3*************************************************/
4
c4ceed07 5/* Copyright (c) University of Cambridge 1995 - 2012 */
0756eb3c
PH
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 *);
32extern int auth_cyrus_sasl_client(auth_instance *, smtp_inblock *,
33 smtp_outblock *, int, uschar *, int);
44bbabb5 34extern void auth_cyrus_sasl_version_report(FILE *f);
0756eb3c
PH
35
36/* End of cyrus_sasl.h */