Make server prompts available in $auth<n> when plaintext is running as a
[exim.git] / src / src / auths / plaintext.h
1 /* $Cambridge: exim/src/src/auths/plaintext.h,v 1.4 2006/02/23 12:41:22 ph10 Exp $ */
2
3 /*************************************************
4 *     Exim - an Internet mail transport agent    *
5 *************************************************/
6
7 /* Copyright (c) University of Cambridge 1995 - 2006 */
8 /* See the file NOTICE for conditions of use and distribution. */
9
10 /* Private structure for the private options. */
11
12 typedef struct {
13   uschar *server_condition;
14   uschar *server_prompts;
15   uschar *client_send;
16   BOOL    client_ignore_invalid_base64;
17 } auth_plaintext_options_block;
18
19 /* Data for reading the private options. */
20
21 extern optionlist auth_plaintext_options[];
22 extern int auth_plaintext_options_count;
23
24 /* Block containing default values. */
25
26 extern auth_plaintext_options_block auth_plaintext_option_defaults;
27
28 /* The entry points for the mechanism */
29
30 extern void auth_plaintext_init(auth_instance *);
31 extern int auth_plaintext_server(auth_instance *, uschar *);
32 extern int auth_plaintext_client(auth_instance *, smtp_inblock *,
33                                  smtp_outblock *, int, uschar *, int);
34
35 /* End of plaintext.h */