--- /dev/null
+/*
+ * $Source$
+ * $Author$
+ * $Id$
+ *
+ * Copyright 1990 by the Massachusetts Institute of Technology.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/mit-copyright.h>.
+ *
+ * KDC Database interface definitions.
+ */
+
+#include <krb5/copyright.h>
+
+#ifndef __KRB5_KDB5__
+#define __KRB5_KDB5__
+
+typedef struct {
+ krb5_principal principal;
+ krb5_keyblock *key;
+ krb5_kvno kvno;
+ krb5_deltat max_life;
+ krb5_deltat max_renewable_life;
+ krb5_kvno mkvno; /* master encryption key vno */
+ krb5_timestamp expiration;
+ krb5_principal mod_name;
+ krb5_timestamp mod_date;
+ krb5_flags attributes;
+} krb5_kdb_principal;
+
+#define KRB5_KDB_DISALLOW_POSTDATED 0x00000001
+#define KRB5_KDB_DISALLOW_FORWARDABLE 0x00000002
+#define KRB5_KDB_DISALLOW_TGT_BASED 0x00000004
+#define KRB5_KDB_DISALLOW_RENEWABLE 0x00000008
+#define KRB5_KDB_DISALLOW_PROXIABLE 0x00000010
+#define KRB5_KDB_DISALLOW_DUP_SKEY 0x00000020
+
+#endif /* __KRB5_KDB5__ */
--- /dev/null
+/*
+ * $Source$
+ * $Author$
+ * $Id$
+ *
+ * Copyright 1989,1990 by the Massachusetts Institute of Technology.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/mit-copyright.h>.
+ *
+ * Definitions for this implementation of the libos layer.
+ */
+
+#include <krb5/copyright.h>
+
+#ifndef __KRB5_LIBOS__
+#define __KRB5_LIBOS__
+
+/* lock mode flags */
+#define KRB5_LOCKMODE_SHARED 0x0001
+#define KRB5_LOCKMODE_EXCLUSIVE 0x0002
+#define KRB5_LOCKMODE_DONTBLOCK 0x0004
+#define KRB5_LOCKMODE_UNLOCK 0x0008
+
+#endif /* __KRB5_LIBOS__ */
--- /dev/null
+/*
+ * $Source$
+ * $Author$
+ * $Id$
+ *
+ * Copyright 1990 by the Massachusetts Institute of Technology.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/mit-copyright.h>.
+ *
+ * Function prototypes for Kerberos V5 library (libos)
+ */
+
+#include <krb5/copyright.h>
+
+#ifndef __KRB5_LIBOS_PROTO__
+#define __KRB5_LIBOS_PROTO__
+
+/* requires <stdio.h> */
+
+/* libos.spec */
+krb5_error_code krb5_read_password
+ PROTOTYPE((char *prompt,
+ char *prompt2,
+ char *return_pwd,
+ int size_return ));
+krb5_error_code krb5_lock_file
+ PROTOTYPE((FILE *filep,
+ int mode ));
+krb5_error_code krb5_unlock_file
+ PROTOTYPE((FILE *filep ));
+krb5_error_code krb5_timeofday
+ PROTOTYPE((krb5_int32 *timeret ));
+krb5_error_code krb5_ms_timeofday
+ PROTOTYPE((krb5_int32 *seconds,
+ krb5_int16 *milliseconds ));
+int krb5_net_read
+ PROTOTYPE((int fd,
+ char *buf,
+ int len ));
+int krb5_net_write
+ PROTOTYPE((int fd,
+ char *buf,
+ int len ));
+
+#endif /* __KRB5_LIBOS_PROTO__ */