summaryrefslogtreecommitdiff
path: root/server/access.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1987-06-19 06:29:53 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1987-06-19 06:29:53 +0000
commitff687ceff9d00d35f0d9df0c86f2fee5b111059d (patch)
tree7066993d388bfa4280008eed76228354da7a5792 /server/access.c
parent0543936bef46ef47a12601373a1cf16f0301d808 (diff)
Initial revision
Diffstat (limited to 'server/access.c')
-rw-r--r--server/access.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/server/access.c b/server/access.c
new file mode 100644
index 0000000..ab45146
--- /dev/null
+++ b/server/access.c
@@ -0,0 +1,41 @@
+/* This file is part of the Project Athena Zephyr Notification System.
+ * It contains functions for dealing with acl's.
+ *
+ * Created by: John T. Kohl
+ *
+ * $Source$
+ * $Author$
+ *
+ * Copyright (c) 1987 by the Massachusetts Institute of Technology.
+ * For copying and distribution information, see the file
+ * "mit-copyright.h".
+ */
+
+#include <zephyr/mit-copyright.h>
+
+#ifndef lint
+static char rcsid_acl_s_c[] = "$Header$";
+#endif lint
+
+/*
+ *
+ * External routines:
+ *
+ * int access_check(notice, acltype)
+ * ZNotice_t *notice;
+ * ZAclType acltype;
+ */
+
+#include "zserver.h"
+
+/*
+ * check access. return 1 if ok, 0 if not ok.
+ */
+
+int
+access_check(notice, acltype)
+ZNotice_t *notice;
+ZAclType acltype;
+{
+ return(1);
+}