Apache2
http_main.h
Go to the documentation of this file.
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 
26 #ifndef APACHE_HTTP_MAIN_H
27 #define APACHE_HTTP_MAIN_H
28 
29 #include "httpd.h"
30 #include "apr_optional.h"
31 
36 #define AP_SERVER_BASEARGS "C:c:D:d:E:e:f:vVlLtTSMh?X"
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
43 AP_DECLARE_DATA extern const char *ap_server_argv0;
45 AP_DECLARE_DATA extern const char *ap_server_root;
50 AP_DECLARE_DATA extern const char *ap_runtime_dir;
58 AP_DECLARE_DATA extern int ap_run_mode;
61 
62 /* for -C, -c and -D switches */
76 
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif /* !APACHE_HTTP_MAIN_H */
APR-UTIL registration of functions exported by modules.
AP_DECLARE_DATA apr_array_header_t * ap_server_post_read_config
AP_DECLARE_DATA const char * ap_server_root
AP_DECLARE_DATA const char * ap_server_argv0
AP_DECLARE_DATA int ap_run_mode
AP_DECLARE_DATA int ap_document_root_check
AP_DECLARE_DATA apr_array_header_t * ap_server_config_defines
AP_DECLARE_DATA const char * ap_runtime_dir
AP_DECLARE_DATA int ap_main_state
AP_DECLARE_DATA server_rec * ap_server_conf
AP_DECLARE_DATA int ap_config_generation
int ap_signal_server(int *status, apr_pool_t *pool)
AP_DECLARE_DATA apr_array_header_t * ap_server_pre_read_config
AP_DECLARE_DATA apr_pool_t * ap_pglobal
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)
Definition: apr_optional.h:50
int status
Definition: mod_dav.h:141
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
HTTP Daemon routines.
#define AP_DECLARE_DATA
Definition: macros.h:15
Definition: apr_tables.h:62
A structure to store information for each virtual server.
Definition: httpd.h:1382