1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge 1995 - 2012 */
6 /* See the file NOTICE for conditions of use and distribution. */
8 /* Copyright (c) Twitter Inc 2012 */
10 /* Interface to GNU SASL library for generic authentication. */
12 /* Authenticator-specific options. */
15 uschar *server_service;
16 uschar *server_hostname;
19 uschar *server_password;
20 uschar *server_scram_iter;
21 uschar *server_scram_salt;
22 BOOL server_channelbinding;
23 } auth_gsasl_options_block;
25 /* Data for reading the authenticator-specific options. */
27 extern optionlist auth_gsasl_options[];
28 extern int auth_gsasl_options_count;
30 /* Defaults for the authenticator-specific options. */
32 extern auth_gsasl_options_block auth_gsasl_option_defaults;
34 /* The entry points for the mechanism */
36 extern void auth_gsasl_init(auth_instance *);
37 extern int auth_gsasl_server(auth_instance *, uschar *);
38 extern int auth_gsasl_client(auth_instance *, smtp_inblock *,
40 extern void auth_gsasl_version_report(FILE *f);
42 /* End of gsasl_exim.h */