Merge branch 'debian'
[hcoop/debian/exim4.git] / src / auths / plaintext.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_prompts;
12 uschar *client_send;
13 BOOL client_ignore_invalid_base64;
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 *, void *, int, uschar *, int);
30
31 /* End of plaintext.h */