]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blobdiff - zephyr/server/access.h
upstream tag
[1ts-debian.git] / zephyr / server / access.h
diff --git a/zephyr/server/access.h b/zephyr/server/access.h
new file mode 100644 (file)
index 0000000..1615908
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * This file is part of the Project Athena Zephyr Notification System.
+ *
+ * It contains declarations for use in the server, relating to access
+ * control.
+ *
+ * Created by Ken Raeburn.
+ *
+ * $Id: access.h,v 1.5 1999/01/22 23:19:37 ghudson Exp $
+ *
+ * Copyright (c) 1990 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, see the file
+ * "mit-copyright.h".
+ */
+
+#include <zephyr/mit-copyright.h>
+
+#include "acl.h"
+#include "zstring.h"
+
+typedef        enum _Access {
+    TRANSMIT,                  /* use transmission acl */
+    SUBSCRIBE,                 /* use subscription acl */
+    INSTWILD,                  /* use instance wildcard acl */
+    INSTUID                            /* use instance UID identity acl */
+} Access;
+
+typedef struct _Acl {
+    char *acl_filename;
+    int        acl_types;              /* Internal; access fields present. */
+} Acl;
+
+/* found in access.c */
+void access_init __P((void));
+void access_reinit __P((void));
+
+/* found in acl_files.c */
+int acl_load __P((char *));
+
+/* external data relevant */
+extern int zdebug;
+