From: Theodore Tso Date: Tue, 4 Oct 1994 21:35:31 +0000 (+0000) Subject: Rearrange declarations so it will actually compile X-Git-Tag: krb5-1.0-beta4.3~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e00742d44a22aeb0d156d4cd1814cc6fd64c94d;p=krb5.git 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 --- 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; -