summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-10-04 21:35:31 +0000
committerTheodore Tso <tytso@mit.edu>1994-10-04 21:35:31 +0000
commit9e00742d44a22aeb0d156d4cd1814cc6fd64c94d (patch)
treebc254b3f07f298871d7021a8d5bdd850cb153730 /src/lib
parent418d8a394a8597c3778cafdeb5b584aa7e5441e5 (diff)
downloadkrb5-9e00742d44a22aeb0d156d4cd1814cc6fd64c94d.tar.gz
krb5-9e00742d44a22aeb0d156d4cd1814cc6fd64c94d.tar.xz
krb5-9e00742d44a22aeb0d156d4cd1814cc6fd64c94d.zip
Rearrange declarations so it will actually compile
Added copyright notice. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4444 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/kdb/kdb_compat.h59
1 files changed, 43 insertions, 16 deletions
diff --git a/src/lib/kdb/kdb_compat.h b/src/lib/kdb/kdb_compat.h
index 264b9d866..97716da50 100644
--- a/src/lib/kdb/kdb_compat.h
+++ b/src/lib/kdb/kdb_compat.h
@@ -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;
-