1 /* $Cambridge: exim/src/src/auths/cram_md5.h,v 1.4 2007/01/08 10:50:19 ph10 Exp $ */
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
7 /* Copyright (c) University of Cambridge 1995 - 2007 */
8 /* See the file NOTICE for conditions of use and distribution. */
10 /* Private structure for the private options. */
13 uschar *server_secret;
14 uschar *client_secret;
16 } auth_cram_md5_options_block;
18 /* Data for reading the private options. */
20 extern optionlist auth_cram_md5_options[];
21 extern int auth_cram_md5_options_count;
23 /* Block containing default values. */
25 extern auth_cram_md5_options_block auth_cram_md5_option_defaults;
27 /* The entry points for the mechanism */
29 extern void auth_cram_md5_init(auth_instance *);
30 extern int auth_cram_md5_server(auth_instance *, uschar *);
31 extern int auth_cram_md5_client(auth_instance *, smtp_inblock *,
32 smtp_outblock *, int, uschar *, int);
34 /* End of cram_md5.h */