Copyright updates:
[exim.git] / src / src / auths / heimdal_gssapi.h
1 /*************************************************
2 *     Exim - an Internet mail transport agent    *
3 *************************************************/
4
5 /* Copyright (c) The Exim Maintainers 2022 */
6 /* Copyright (c) University of Cambridge 1995 - 2012 */
7 /* See the file NOTICE for conditions of use and distribution. */
8
9 /* Copyright (c) Twitter Inc 2012
10    Author: Phil Pennock <pdp@exim.org> */
11 /* Copyright (c) Phil Pennock 2012 */
12
13 /* Interface to Heimdal library for GSSAPI authentication. */
14
15 /* Authenticator-specific options. */
16
17 typedef struct {
18   uschar *server_hostname;
19   uschar *server_keytab;
20   uschar *server_service;
21 } auth_heimdal_gssapi_options_block;
22
23 /* Data for reading the authenticator-specific options. */
24
25 extern optionlist auth_heimdal_gssapi_options[];
26 extern int auth_heimdal_gssapi_options_count;
27
28 /* Defaults for the authenticator-specific options. */
29
30 extern auth_heimdal_gssapi_options_block auth_heimdal_gssapi_option_defaults;
31
32 /* The entry points for the mechanism */
33
34 extern void auth_heimdal_gssapi_init(auth_instance *);
35 extern int auth_heimdal_gssapi_server(auth_instance *, uschar *);
36 extern int auth_heimdal_gssapi_client(auth_instance *, void *, int, uschar *, int);
37 extern void auth_heimdal_gssapi_version_report(BOOL);
38
39 /* End of heimdal_gssapi.h */