File: access.h

package info (click to toggle)
zephyr 3.1.2-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,836 kB
  • sloc: ansic: 41,382; sh: 10,723; makefile: 872; python: 438; yacc: 250; lisp: 127
file content (38 lines) | stat: -rw-r--r-- 930 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * 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: 910770fb0cf71b3e4acb323d05b0b2795c05adcf $
 *
 * 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(void);
void access_reinit(void);

/* found in acl_files.c */
int acl_load(char *);