/[hydra]/hydra/src/access.h
ViewVC logotype

Contents of /hydra/src/access.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Sun Oct 27 10:06:28 2002 UTC (21 years, 5 months ago) by nmav
Branch: MAIN
CVS Tags: hydra_0_0_9, hydra_0_1_3, hydra_0_1_2, hydra_0_1_1, hydra_0_1_0, hydra_0_0_10
Branch point for: hydra_0_1_0_patches
File MIME type: text/plain
Added file access control lists per virtual host. Based on patch for
Boa by Peter Korsgaard <jacmet@sunsite.dk>.

1 #ifndef _ACCESS_H
2 #define _ACCESS_H
3
4 #define ACCESS_DENY 0
5 #define ACCESS_ALLOW 1
6
7 void access_add(const char* hostname, const char *pattern, const int type);
8
9 int access_allow(const char* hostname, const char *file);
10
11 #endif /* _ACCESS_H */

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26