This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
/* |
| 2 |
* kerberos.h -- Headers for Kerberos support. |
| 3 |
* |
| 4 |
* For license terms, see the file COPYING in this directory. |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef H_KERBEROS__ |
| 8 |
#define H_KERBEROS__ |
| 9 |
#include "config.h" |
| 10 |
#if defined(KERBEROS_V4) || defined(KERBEROS_V5) |
| 11 |
|
| 12 |
#ifdef KERBEROS_V5 |
| 13 |
#include <krb5.h> |
| 14 |
/* #include <com_err.h> */ |
| 15 |
#endif |
| 16 |
|
| 17 |
#ifdef KERBEROS_V4 |
| 18 |
# ifdef KERBEROS_V4_V5 |
| 19 |
# include <kerberosIV/krb.h> |
| 20 |
# include <kerberosIV/des.h> |
| 21 |
# else |
| 22 |
# if defined (__bsdi__) |
| 23 |
# include <des.h> /* order of includes matters */ |
| 24 |
# define krb_get_err_text(e) (krb_err_txt[e]) |
| 25 |
# endif |
| 26 |
# include <krb.h> |
| 27 |
# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__linux__) |
| 28 |
# define krb_get_err_text(e) (krb_err_txt[e]) |
| 29 |
# include <des.h> |
| 30 |
# endif |
| 31 |
# endif |
| 32 |
#endif |
| 33 |
|
| 34 |
/* des.h might define _ for no good reason. */ |
| 35 |
#undef _ |
| 36 |
|
| 37 |
#endif /* KERBEROS_V4 || KERBEROS_V5 */ |
| 38 |
#endif /* H_KERBEROS__ */ |