1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge 1995 - 2012 */
6 /* Copyright (c) The Exim Maintainers 2019-2020 */
7 /* See the file NOTICE for conditions of use and distribution. */
9 /* Copyright (c) Twitter Inc 2012 */
11 /* Interface to GNU SASL library for generic authentication. */
13 /* Authenticator-specific options. */
16 uschar
*server_service
;
17 uschar
*server_hostname
;
20 uschar
*server_password
;
23 uschar
*server_scram_iter
;
24 uschar
*server_scram_salt
;
26 uschar
*client_username
;
27 uschar
*client_password
;
29 uschar
*client_spassword
;
31 BOOL server_channelbinding
;
32 BOOL client_channelbinding
;
33 } auth_gsasl_options_block
;
35 /* Data for reading the authenticator-specific options. */
37 extern optionlist auth_gsasl_options
[];
38 extern int auth_gsasl_options_count
;
40 /* Defaults for the authenticator-specific options. */
42 extern auth_gsasl_options_block auth_gsasl_option_defaults
;
44 /* The entry points for the mechanism */
46 extern void auth_gsasl_init(auth_instance
*);
47 extern int auth_gsasl_server(auth_instance
*, uschar
*);
48 extern int auth_gsasl_client(auth_instance
*, void *,
50 extern void auth_gsasl_version_report(FILE *f
);
51 extern void auth_gsasl_macros(void);
53 /* End of gsasl_exim.h */