re-enable munmap().
[minix.git] / commands / httpd0995 / config.h
blob7beeb8316b422cefc5b57f1699af332c3ef71dad
1 /* config.h
3 * This file is part of httpd.
5 * 02/26/1996 Michael Temari <Michael@TemWare.Com>
6 * 07/07/1996 Initial Release Michael Temari <Michael@TemWare.Com>
7 * 12/29/2002 Michael Temari <Michael@TemWare.Com>
8 * 07/04/2003 Al Woodhull <asw@woodhull.com>
9 * 02/08/2005 Michael Temari <Michael@TemWare.Com>
10 * 05/14/2006 Michael Temari <Michael@TemWare.Com>
14 #define VERSION "Minix httpd 0.995"
16 struct authuser {
17 char *user;
18 struct authuser *next;
21 struct auth {
22 char *name;
23 char *desc;
24 int urlaccess;
25 char *passwdfile;
26 struct authuser *users;
27 struct auth *next;
30 struct msufx {
31 char *suffix;
32 struct mtype *mtype;
33 struct msufx *snext;
34 struct msufx *tnext;
37 struct mtype {
38 char *mimetype;
39 struct msufx *msufx;
40 struct mtype *next;
43 struct vhost {
44 char *hname;
45 char *root;
46 struct vhost *next;
49 struct vpath {
50 char *from;
51 char *to;
52 struct auth *auth;
53 int urlaccess;
54 struct vpath *next;
57 struct dirsend {
58 char *file;
59 struct dirsend *next;
62 /* urlaccess bits */
64 #define URLA_READ 1
65 #define URLA_WRITE 2
66 #define URLA_EXEC 4
67 #define URLA_HEADERS 8
69 #define HTTPD_CONFIG_FILE "/etc/httpd.conf"
71 _PROTOTYPE(int readconfig, (char *cfg_file, int testing));
73 extern struct mtype *mtype;
74 extern struct msufx *msufx;
75 extern struct vhost *vhost;
76 extern struct vpath *vpath;
77 extern struct dirsend *dirsend;
78 extern struct auth *auth;
79 extern struct auth *proxyauth;
80 extern char *direxec;
81 extern char *srvrroot;
82 extern char *Redirect;
83 extern char *LogFile;
84 extern char *DbgFile;
85 extern char *User;
86 extern char *Chroot;