constification
[exim.git] / src / src / auths / plaintext.h
CommitLineData
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
10typedef 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
18extern optionlist auth_plaintext_options[];
19extern int auth_plaintext_options_count;
20
21/* Block containing default values. */
22
23extern auth_plaintext_options_block auth_plaintext_option_defaults;
24
25/* The entry points for the mechanism */
26
27extern void auth_plaintext_init(auth_instance *);
28extern int auth_plaintext_server(auth_instance *, uschar *);
251b9eb4 29extern int auth_plaintext_client(auth_instance *, void *, int, uschar *, int);
0756eb3c
PH
30
31/* End of plaintext.h */