Commit | Line | Data |
---|---|---|
0756eb3c PH |
1 | /************************************************* |
2 | * Exim - an Internet mail transport agent * | |
3 | *************************************************/ | |
4 | ||
0a49a7a4 | 5 | /* Copyright (c) University of Cambridge 1995 - 2009 */ |
0756eb3c PH |
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 *); | |
251b9eb4 | 29 | extern int auth_cram_md5_client(auth_instance *, void *, int, uschar *, int); |
0756eb3c PH |
30 | |
31 | /* End of cram_md5.h */ |