Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / afsweb / apache_includes / http_conf_globals.h
1 /* ====================================================================
2 * Copyright (c) 1995-1997 The Apache Group. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in
13 * the documentation and/or other materials provided with the
14 * distribution.
15 *
16 * 3. All advertising materials mentioning features or use of this
17 * software must display the following acknowledgment:
18 * "This product includes software developed by the Apache Group
19 * for use in the Apache HTTP server project (http://www.apache.org/)."
20 *
21 * 4. The names "Apache Server" and "Apache Group" must not be used to
22 * endorse or promote products derived from this software without
23 * prior written permission.
24 *
25 * 5. Redistributions of any form whatsoever must retain the following
26 * acknowledgment:
27 * "This product includes software developed by the Apache Group
28 * for use in the Apache HTTP server project (http://www.apache.org/)."
29 *
30 * THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
31 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
32 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
33 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR
34 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
35 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
36 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
37 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
40 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
41 * OF THE POSSIBILITY OF SUCH DAMAGE.
42 * ====================================================================
43 *
44 * This software consists of voluntary contributions made by many
45 * individuals on behalf of the Apache Group and was originally based
46 * on public domain software written at the National Center for
47 * Supercomputing Applications, University of Illinois, Urbana-Champaign.
48 * For more information on the Apache Group and the Apache HTTP server
49 * project, please see <http://www.apache.org/>.
50 *
51 */
52
53 /*
54 * Process config --- what the process ITSELF is doing
55 */
56
57 extern int standalone;
58 extern uid_t user_id;
59 extern char *user_name;
60 extern gid_t group_id;
61 #ifdef MULTIPLE_GROUPS
62 extern gid_t group_id_list[NGROUPS_MAX];
63 #endif
64 extern int max_requests_per_child;
65 extern struct in_addr bind_address;
66 extern listen_rec *listeners;
67 extern int daemons_to_start;
68 extern int daemons_min_free;
69 extern int daemons_max_free;
70 extern int daemons_limit;
71 extern int suexec_enabled;
72
73 extern char *pid_fname;
74 extern char *scoreboard_fname;
75 extern char *lock_fname;
76 extern char *server_argv0;
77
78 /* Trying to allocate these in the config pool gets us into some *nasty*
79 * chicken-and-egg problems in http_main.c --- where do you stick them
80 * when pconf gets cleared? Better to just allocate a little space
81 * statically...
82 */
83
84 extern char server_root[MAX_STRING_LEN];
85 extern char server_confname[MAX_STRING_LEN];