373f729bbe1cc93f734bb80ab3591d887b680b27
[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 2019 */
7 /* See the file NOTICE for conditions of use and distribution. */
8
9 /* Private structure for the private options. */
10
11 typedef struct {
12 uschar * server_socket;
13 BOOL server_tls;
14 } auth_dovecot_options_block;
15
16 /* Data for reading the private options. */
17
18 extern optionlist auth_dovecot_options[];
19 extern int auth_dovecot_options_count;
20
21 /* Block containing default values. */
22
23 extern auth_dovecot_options_block auth_dovecot_option_defaults;
24
25 /* The entry points for the mechanism */
26
27 extern void auth_dovecot_init(auth_instance *);
28 extern int auth_dovecot_server(auth_instance *, uschar *);
29
30 /* End of dovecot.h */