*** empty log message ***
authorJohn Kohl <jtkohl@mit.edu>
Thu, 18 Jan 1990 17:37:10 +0000 (17:37 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 18 Jan 1990 17:37:10 +0000 (17:37 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@131 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/kdb.h [new file with mode: 0644]
src/include/krb5/libos.h [new file with mode: 0644]
src/include/krb5/los-proto.h [new file with mode: 0644]

diff --git a/src/include/krb5/kdb.h b/src/include/krb5/kdb.h
new file mode 100644 (file)
index 0000000..f1c4887
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * $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__ */
diff --git a/src/include/krb5/libos.h b/src/include/krb5/libos.h
new file mode 100644 (file)
index 0000000..1ac929d
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * $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__ */
diff --git a/src/include/krb5/los-proto.h b/src/include/krb5/los-proto.h
new file mode 100644 (file)
index 0000000..8f738b2
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * $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__ */