Another wish.
[exim.git] / src / src / auths / cyrus_sasl.h
1 /* $Cambridge: exim/src/src/auths/cyrus_sasl.h,v 1.1 2004/10/07 13:10:01 ph10 Exp $ */
2
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
6
7 /* Copyright (c) University of Cambridge 1995 - 2003 */
8 /* See the file NOTICE for conditions of use and distribution. */
9
10 /* Copyright (c) A L Digital Ltd 2004 */
11
12 /* Private structure for the private options. */
13
14 typedef struct {
15 uschar *server_service;
16 uschar *server_hostname;
17 uschar *server_realm;
18 uschar *server_mech;
19 } auth_cyrus_sasl_options_block;
20
21 /* Data for reading the private options. */
22
23 extern optionlist auth_cyrus_sasl_options[];
24 extern int auth_cyrus_sasl_options_count;
25
26 /* Block containing default values. */
27
28 extern auth_cyrus_sasl_options_block auth_cyrus_sasl_option_defaults;
29
30 /* The entry points for the mechanism */
31
32 extern void auth_cyrus_sasl_init(auth_instance *);
33 extern int auth_cyrus_sasl_server(auth_instance *, uschar *);
34 extern int auth_cyrus_sasl_client(auth_instance *, smtp_inblock *,
35 smtp_outblock *, int, uschar *, int);
36
37 /* End of cyrus_sasl.h */