e1363bf05f81fb2181178ccf7f5c7fe63b37e9e4
[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
8 /* Private structure for the private options. */
9
10 typedef struct {
11 uschar *server_secret;
12 uschar *client_secret;
13 uschar *client_name;
14 } auth_cram_md5_options_block;
15
16 /* Data for reading the private options. */
17
18 extern optionlist auth_cram_md5_options[];
19 extern int auth_cram_md5_options_count;
20
21 /* Block containing default values. */
22
23 extern auth_cram_md5_options_block auth_cram_md5_option_defaults;
24
25 /* The entry points for the mechanism */
26
27 extern void auth_cram_md5_init(auth_instance *);
28 extern int auth_cram_md5_server(auth_instance *, uschar *);
29 extern int auth_cram_md5_client(auth_instance *, smtp_inblock *,
30 smtp_outblock *, int, uschar *, int);
31
32 /* End of cram_md5.h */