~yolanda.robla/ubuntu/saucy/exim4/dep-8-tests

« back to all changes in this revision

Viewing changes to src/auths/heimdal_gssapi.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-14 15:28:08 UTC
  • mfrom: (2.3.18 experimental) (2.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20120614152808-jeyix4g9r95iy6j9
Tags: 4.80-3ubuntu1
* Merge from Debian unstable. Remaining changes:
  - debian/control: Don't declare a Provides: default-mta; in Ubuntu,
    we want postfix to be the default.

Show diffs side-by-side

added added

removed removed

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