1   /*
   2 |  * Copyright 1999-2002 Sun Microsystems, Inc.  All rights reserved.
   2 |  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
   3    * Use is subject to license terms.
   4    */
   5   
   6   #ifndef _KDB_HDR_H
   7   #define        _KDB_HDR_H
   8   
   9 | #pragma ident        "@(#)kdb_hdr.h        1.4        04/09/08 SMI"
   9 | #pragma ident        "@(#)kdb_hdr.h        1.3        04/02/20 SMI"
  10   
  11   #include <krb5.h>
  12   
  13   #ifdef        __cplusplus
  14   extern "C" {
  15   #endif
  16   
  17   /*
  18    * This header is required to solve a conflict with
  19    * usr/src/lib/gss_mechs/mech_krb5/include/krb5/kdb_dbm.h
  20    * which creates numerous defines like ....
  21    * #define krb5_dbm_db_fini krb5_db_fini
  22    * that break the spec file creation and resolution process.
  23    *
  24    * lib/kdb/kdb_hdr.h
  25    */
  26   
  27 + #ifndef __KADM5_ADMIN_H__
  28 + struct _kadm5_config_params; 
  29 + typedef struct _kadm5_config_params kadm5_config_params;
  30 + #endif
  31 + 
  32   #if defined(KRB5_NO_CONST) || (defined(__ultrix) && !defined(__GNUC__))
  33   #define krb5_const
  34   #else
  35   #define krb5_const const
  36   #endif
  37   
  38   typedef struct _krb5_keysalt {
  39       krb5_int16            type;
  40       krb5_data             data;                 /* Length, data */
  41   } krb5_keysalt;

 ----Unchanged portion omitted----