SPDX: license tags (mostly by guesswork)
[exim.git] / src / src / auths / dovecot.h
1 /*************************************************
2 *     Exim - an Internet mail transport agent    *
3 *************************************************/
4
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* Copyright (c) The Exim Maintainters 2020 */
7 /* See the file NOTICE for conditions of use and distribution. */
8 /* SPDX-License-Identifier: GPL-2.0-only */
9
10 /* Private structure for the private options. */
11
12 typedef struct {
13   uschar *      server_socket;
14   BOOL          server_tls;
15 } auth_dovecot_options_block;
16
17 /* Data for reading the private options. */
18
19 extern optionlist auth_dovecot_options[];
20 extern int auth_dovecot_options_count;
21
22 /* Block containing default values. */
23
24 extern auth_dovecot_options_block auth_dovecot_option_defaults;
25
26 /* The entry points for the mechanism */
27
28 extern void auth_dovecot_init(auth_instance *);
29 extern int auth_dovecot_server(auth_instance *, uschar *);
30
31 /* End of dovecot.h */