Rearrange declarations so it will actually compile
authorTheodore Tso <tytso@mit.edu>
Tue, 4 Oct 1994 21:35:31 +0000 (21:35 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 4 Oct 1994 21:35:31 +0000 (21:35 +0000)
Added copyright notice.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4444 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kdb/kdb_compat.h

index 264b9d866f9c81847847f7f9ff6f0bad478342cb..97716da507bd00490edaab19670a585fe46b1975 100644 (file)
@@ -1,3 +1,46 @@
+/*
+ * lib/kdb/kdb_compat.h
+ *
+ * Copyright 1994 by the Massachusetts Institute of Technology.
+ * All Rights Reserved.
+ *
+ * Export of this software from the United States of America may
+ *   require a specific license from the United States Government.
+ *   It is the responsibility of any person or organization contemplating
+ *   export to obtain such a license before exporting.
+ * 
+ * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
+ * distribute this software and its documentation for any purpose and
+ * without fee is hereby granted, provided that the above copyright
+ * notice appear in all copies and that both that copyright notice and
+ * this permission notice appear in supporting documentation, and that
+ * the name of M.I.T. not be used in advertising or publicity pertaining
+ * to distribution of the software without specific, written prior
+ * permission.  M.I.T. makes no representations about the suitability of
+ * this software for any purpose.  It is provided "as is" without express
+ * or implied warranty.
+ * 
+ *
+ * KDC Database interface definitions.
+ */
+
+
+typedef struct _old_krb5_encrypted_keyblock {
+    krb5_keytype keytype;
+    int length;
+    krb5_octet *contents;
+} old_krb5_encrypted_keyblock;
+
+typedef struct old_krb5_principal_data {
+    krb5_magic magic;
+    krb5_data realm;
+    krb5_data *data;           /* An array of strings */
+    krb5_int32 length;
+    krb5_int32 type;
+} old_krb5_principal_data;
+
+typedef        old_krb5_principal_data *old_krb5_principal;
+
 
 /*
  * Note --- this structure cannot be modified without changing the
@@ -33,19 +76,3 @@ typedef struct _old_krb5_db_entry {
     krb5_int32 expansion[8];
 } old_krb5_db_entry;
 
-typedef struct _old_krb5_encrypted_keyblock {
-    krb5_keytype keytype;
-    int length;
-    krb5_octet *contents;
-} old_krb5_encrypted_keyblock;
-
-typedef struct old_krb5_principal_data {
-    krb5_magic magic;
-    krb5_data realm;
-    krb5_data *data;           /* An array of strings */
-    krb5_int32 length;
-    krb5_int32 type;
-} old_krb5_principal_data;
-
-typedef        old_krb5_principal_data *old_krb5_principal;
-