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 { | |
0756eb3c PH |
11 | uschar *server_prompts; |
12 | uschar *client_send; | |
4730f942 | 13 | BOOL client_ignore_invalid_base64; |
0756eb3c PH |
14 | } auth_plaintext_options_block; |
15 | ||
16 | /* Data for reading the private options. */ | |
17 | ||
18 | extern optionlist auth_plaintext_options[]; | |
19 | extern int auth_plaintext_options_count; | |
20 | ||
21 | /* Block containing default values. */ | |
22 | ||
23 | extern auth_plaintext_options_block auth_plaintext_option_defaults; | |
24 | ||
25 | /* The entry points for the mechanism */ | |
26 | ||
27 | extern void auth_plaintext_init(auth_instance *); | |
28 | extern int auth_plaintext_server(auth_instance *, uschar *); | |
29 | extern int auth_plaintext_client(auth_instance *, smtp_inblock *, | |
30 | smtp_outblock *, int, uschar *, int); | |
31 | ||
32 | /* End of plaintext.h */ |