bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / apache2 / include / http_main.h
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements.  See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License.  You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef APACHE_HTTP_MAIN_H
18 #define APACHE_HTTP_MAIN_H
19
20 #include "apr_optional.h"
21
22 /* AP_SERVER_BASEARGS is the command argument list parsed by http_main.c
23  * in apr_getopt() format.  Use this for default'ing args that the MPM
24  * can safely ignore and pass on from its rewrite_args() handler.
25  */
26 #define AP_SERVER_BASEARGS "C:c:D:d:E:e:f:vVlLtSh?X"
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 /**
33  * @package Command line options
34  */
35
36 /** The name of the Apache executable */
37 AP_DECLARE_DATA extern const char *ap_server_argv0;
38 /** The global server's ServerRoot */
39 AP_DECLARE_DATA extern const char *ap_server_root;
40
41 /* for -C, -c and -D switches */
42 /** An array of all -C directives.  These are processed before the server's
43  *  config file */
44 AP_DECLARE_DATA extern apr_array_header_t *ap_server_pre_read_config;
45 /** An array of all -c directives.  These are processed after the server's
46  *  config file */
47 AP_DECLARE_DATA extern apr_array_header_t *ap_server_post_read_config;
48 /** An array of all -D defines on the command line.  This allows people to
49  *  effect the server based on command line options */
50 AP_DECLARE_DATA extern apr_array_header_t *ap_server_config_defines;
51
52 APR_DECLARE_OPTIONAL_FN(int, ap_signal_server, (int *, apr_pool_t *));
53
54 #ifdef __cplusplus
55 }
56 #endif
57
58 #endif  /* !APACHE_HTTP_MAIN_H */