]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - server/access.h
r235@bucket (orig r231): kcr | 2007-12-26 11:19:12 -0500
[1ts-debian.git] / server / access.h
1 /*
2  * This file is part of the Project Athena Zephyr Notification System.
3  *
4  * It contains declarations for use in the server, relating to access
5  * control.
6  *
7  * Created by Ken Raeburn.
8  *
9  * $Id$
10  *
11  * Copyright (c) 1990 by the Massachusetts Institute of Technology.
12  * For copying and distribution information, see the file
13  * "mit-copyright.h".
14  */
15
16 #include <zephyr/mit-copyright.h>
17
18 #include "acl.h"
19 #include "zstring.h"
20
21 typedef enum _Access {
22     TRANSMIT,                   /* use transmission acl */
23     SUBSCRIBE,                  /* use subscription acl */
24     INSTWILD,                   /* use instance wildcard acl */
25     INSTUID                             /* use instance UID identity acl */
26 } Access;
27
28 typedef struct _Acl {
29     char *acl_filename;
30     int acl_types;              /* Internal; access fields present. */
31 } Acl;
32
33 /* found in access.c */
34 void access_init __P((void));
35 void access_reinit __P((void));
36
37 /* found in acl_files.c */
38 int acl_load __P((char *));
39
40 /* external data relevant */
41 extern int zdebug;
42