diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index e903d2c9b..2d1b6e6a1 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -41,27 +41,7 @@ #ifndef __KRB5_H__ #define __KRB5_H__ -#ifdef HAVE_CONFIG_H -#include -#endif - -#include - -#ifdef HAVE_SYS_TYPES_H -#include -#endif -#ifdef HAVE_SYS_TIME_H -#include -#endif - -#ifdef HAVE_NETINET_IN6_MACHTYPES_H -#include -#endif - -#ifdef HAVE_SYS_BITYPES_H -#include -#endif - +#include #include #include @@ -71,8 +51,6 @@ #include -#include "config_file.h" - /* simple constants */ #ifndef TRUE @@ -239,6 +217,21 @@ typedef struct krb5_cc_ops{ struct krb5_log_facility; +struct krb5_config_binding { + enum { STRING, LIST } type; + char *name; + struct krb5_config_binding *next; + union { + char *string; + struct krb5_config_binding *list; + void *generic; + } u; +}; + +typedef struct krb5_config_binding krb5_config_binding; + +typedef krb5_config_binding krb5_config_section; + typedef struct krb5_context_data{ krb5_enctype *etypes; char *default_realm; @@ -433,9 +426,8 @@ typedef struct _krb5_verify_init_creds_opt { #define KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL 0x0001 -#include "cache.h" - -#include "keytab.h" +extern krb5_cc_ops krb5_fcc_ops; +extern krb5_cc_ops krb5_mcc_ops; #define KRB5_KPASSWD_SUCCESS 0 #define KRB5_KPASSWD_MALFORMED 0 @@ -445,8 +437,6 @@ typedef struct _krb5_verify_init_creds_opt { #define KPASSWD_PORT 464 -#include "store.h" - #include #endif /* __KRB5_H__ */