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 #ifndef PATHCHECK_H
30 #define PATHCHECK_H
31
32 #include "../public/nsapi.h"
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 int require_auth(pblock *pb, Session *sn, Request *rq);
39
40 int require_access(pblock *pb, Session *sn, Request *rq);
41
42 int append_acl(pblock *pb, Session *sn, Request *rq);
43
44 int check_acl(pblock *pb, Session *sn, Request *rq);
45
46 int find_index(pblock *pb, Session *sn, Request *rq);
47
48 int dir_redirect(pblock *pb, Session *sn, Request *rq);
49
50 #ifdef __cplusplus
51 }
52 #endif
53
54 #endif
55
56