* <<< Description >>>
*/
-#include <krb5/mit-copyright.h>
+#include <krb5/copyright.h>
-#ifndef __KRB5_TYPEDEFS__
-#define __KRB5_TYPEDEFS__
+#ifndef __KRB5_BASE_DEFS__
+#define __KRB5_BASE_DEFS__
#include <krb5/wordsize.h>
typedef krb5_ui_2 krb5_enctype;
typedef krb5_ui_2 krb5_cksumtype;
-#endif /* __KRB5_TYPEDEFS__ */
+#endif /* __KRB5_BASE_DEFS__ */
* hostaddr definitions for Kerberos version 5.
*/
-#include <krb5/mit-copyright.h>
+#include <krb5/copyright.h>
-#ifndef __KRB_HOSTADDR__
-#define __KRB_HOSTADDR__
+#ifndef __KRB5_HOSTADDR__
+#define __KRB5_HOSTADDR__
/* structure for address */
typedef struct _krb5_address {
/* macros to determine if a type is a local type */
#define ADDRTYPE_IS_LOCAL(addrtype) (addrtype & 0x8000)
-#endif /* __KRB_HOSTADDR__ */
+#endif /* __KRB5_HOSTADDR__ */
* General definitions for Kerberos version 5.
*/
-#include <krb5/mit-copyright.h>
+#include <krb5/copyright.h>
-#ifndef __KRB_GENERAL__
-#define __KRB_GENERAL__
+#ifndef __KRB5_GENERAL__
+#define __KRB5_GENERAL__
+
+#include <sys/types.h>
#include <krb5/base-defs.h>
#include <krb5/hostaddr.h>
#include <krb5/encryption.h>
#include <krb5/fieldbits.h>
-#endif /* __KRB_GENERAL__ */
+#endif /* __KRB5_GENERAL__ */
* MIT Data Encryption Standard software implementation declarations.
*/
-#include <krb5/mit-copyright.h>
+#include <krb5/copyright.h>
-#ifndef __MIT_DES__
-#define __MIT_DES__
+#ifndef __KRB5_MIT_DES__
+#define __KRB5_MIT_DES__
typedef octet des_cblock[8]; /* crypto-block size */
#define DES_CBC_CKSUM_LENGTH (4*sizeof(octet)) /* XXX ? */
-#endif /* __MIT_DES__ */
+#endif /* __KRB5_MIT_DES__ */
* Word-size related definition.
*/
-#include <krb5/mit-copyright.h>
+#include <krb5/copyright.h>
-#ifndef __KRB_WORDSIZE__
-#define __KRB_WORDSIZE__
+#ifndef __KRB5_WORDSIZE__
+#define __KRB5_WORDSIZE__
#ifdef BITS16
#define __OK
#undef __OK
-#endif /* __KRB_WORDSIZE__ */
+#endif /* __KRB5_WORDSIZE__ */