Bugzilla #401 + #402
[exim.git] / src / src / auths / plaintext.h
CommitLineData
16ff981e 1/* $Cambridge: exim/src/src/auths/plaintext.h,v 1.5 2006/10/16 15:44:36 ph10 Exp $ */
0756eb3c
PH
2
3/*************************************************
4* Exim - an Internet mail transport agent *
5*************************************************/
6
d7d7b7b9 7/* Copyright (c) University of Cambridge 1995 - 2006 */
0756eb3c
PH
8/* See the file NOTICE for conditions of use and distribution. */
9
10/* Private structure for the private options. */
11
12typedef struct {
0756eb3c
PH
13 uschar *server_prompts;
14 uschar *client_send;
4730f942 15 BOOL client_ignore_invalid_base64;
0756eb3c
PH
16} auth_plaintext_options_block;
17
18/* Data for reading the private options. */
19
20extern optionlist auth_plaintext_options[];
21extern int auth_plaintext_options_count;
22
23/* Block containing default values. */
24
25extern auth_plaintext_options_block auth_plaintext_option_defaults;
26
27/* The entry points for the mechanism */
28
29extern void auth_plaintext_init(auth_instance *);
30extern int auth_plaintext_server(auth_instance *, uschar *);
31extern int auth_plaintext_client(auth_instance *, smtp_inblock *,
32 smtp_outblock *, int, uschar *, int);
33
34/* End of plaintext.h */