Merge commit 'release-4-0-0alpha15' into master4-tmp
[nivanova/samba-autobuild/.git] / lib / replace / system / kerberos.h
1 #ifndef _system_kerberos_h
2 #define _system_kerberos_h
3
4 /* 
5    Unix SMB/CIFS implementation.
6
7    kerberos system include wrappers
8
9    Copyright (C) Andrew Tridgell 2004
10    
11      ** NOTE! The following LGPL license applies to the replace
12      ** library. This does NOT imply that all of Samba is released
13      ** under the LGPL
14    
15    This library is free software; you can redistribute it and/or
16    modify it under the terms of the GNU Lesser General Public
17    License as published by the Free Software Foundation; either
18    version 3 of the License, or (at your option) any later version.
19
20    This library is distributed in the hope that it will be useful,
21    but WITHOUT ANY WARRANTY; without even the implied warranty of
22    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23    Lesser General Public License for more details.
24
25    You should have received a copy of the GNU Lesser General Public
26    License along with this library; if not, see <http://www.gnu.org/licenses/>.
27
28 */
29
30 #ifdef HAVE_KRB5
31
32 #if HAVE_KRB5_H
33 #include <krb5.h>
34 #endif
35
36 #if HAVE_COM_ERR_H
37 #include <com_err.h>
38 #endif
39
40 #ifdef HAVE_GSSAPI_GSSAPI_EXT_H
41 #include <gssapi/gssapi_ext.h>
42 #elif HAVE_GSSAPI_GSSAPI_H
43 #include <gssapi/gssapi.h>
44 #elif HAVE_GSSAPI_GSSAPI_GENERIC_H
45 #include <gssapi/gssapi_generic.h>
46 #elif HAVE_GSSAPI_H
47 #include <gssapi.h>
48 #endif
49
50 #if HAVE_GSSAPI_GSSAPI_KRB5_H
51 #include <gssapi/gssapi_krb5.h>
52 #endif
53
54 #endif
55 #endif