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