From ff687ceff9d00d35f0d9df0c86f2fee5b111059d Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 19 Jun 1987 06:29:53 +0000 Subject: Initial revision --- server/access.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 server/access.c (limited to 'server/access.c') 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 + +#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); +} -- cgit v1.2.3