SPDX: Mass-update to GPL-2.0-or-later
[exim.git] / src / src / auths / cram_md5.h
1 /*************************************************
2 *     Exim - an Internet mail transport agent    *
3 *************************************************/
4
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* See the file NOTICE for conditions of use and distribution. */
7 /* SPDX-License-Identifier: GPL-2.0-or-later */
8
9 /* Private structure for the private options. */
10
11 typedef struct {
12   uschar *server_secret;
13   uschar *client_secret;
14   uschar *client_name;
15 } auth_cram_md5_options_block;
16
17 /* Data for reading the private options. */
18
19 extern optionlist auth_cram_md5_options[];
20 extern int auth_cram_md5_options_count;
21
22 /* Block containing default values. */
23
24 extern auth_cram_md5_options_block auth_cram_md5_option_defaults;
25
26 /* The entry points for the mechanism */
27
28 extern void auth_cram_md5_init(auth_instance *);
29 extern int auth_cram_md5_server(auth_instance *, uschar *);
30 extern int auth_cram_md5_client(auth_instance *, void *, int, uschar *, int);
31
32 /* End of cram_md5.h */