diff options
author | Rob Funk <rfunk@funknet.net> | 2004-06-08 03:59:01 +0000 |
---|---|---|
committer | Rob Funk <rfunk@funknet.net> | 2004-06-08 03:59:01 +0000 |
commit | d78b61e3efaea197a6e5b2b72bf2981a9ed69461 (patch) | |
tree | 1704e13ce5d767d59868a2d5e834cb2e988ed90f /kerberos.h | |
parent | d9e84e176fe538e110d9612f9832d69846e8d3e7 (diff) | |
download | fetchmail-d78b61e3efaea197a6e5b2b72bf2981a9ed69461.tar.gz fetchmail-d78b61e3efaea197a6e5b2b72bf2981a9ed69461.tar.bz2 fetchmail-d78b61e3efaea197a6e5b2b72bf2981a9ed69461.zip |
Add files from ESR's dev directory that weren't under version control
svn path=/trunk/; revision=3881
Diffstat (limited to 'kerberos.h')
-rw-r--r-- | kerberos.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/kerberos.h b/kerberos.h new file mode 100644 index 00000000..32cb93e9 --- /dev/null +++ b/kerberos.h @@ -0,0 +1,33 @@ +/* + * kerberos.h -- Headers for Kerberos support. + * + * For license terms, see the file COPYING in this directory. + */ + +#ifndef H_KERBEROS__ +#define H_KERBEROS__ +#include "config.h" +#if defined(KERBEROS_V4) || defined(KERBEROS_V5) + +#ifdef KERBEROS_V5 +#include <krb5.h> +#include <com_err.h> +#endif + +#ifdef KERBEROS_V4 +# if defined (__bsdi__) +# include <des.h> /* order of includes matters */ +# define krb_get_err_text(e) (krb_err_txt[e]) +# endif +# include <krb.h> +# if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__linux__) +# define krb_get_err_text(e) (krb_err_txt[e]) +# include <des.h> +# endif +#endif + +/* des.h might define _ for no good reason. */ +#undef _ + +#endif /* KERBEROS_V4 || KERBEROS_V5 */ +#endif /* H_KERBEROS__ */ |