Apache HTTPD
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
39extern "C" {
40#endif
41
43AP_DECLARE_DATA extern const char *ap_server_argv0;
45AP_DECLARE_DATA extern const char *ap_server_root;
50AP_DECLARE_DATA extern const char *ap_runtime_dir;
61
62/* for -C, -c and -D switches */
74
82
83#ifdef __cplusplus
84}
85#endif
86
87#endif /* !APACHE_HTTP_MAIN_H */
#define AP_DECLARE_DATA
Definition ap_config.h:89
APR-UTIL registration of functions exported by modules.
const char * ap_server_argv0
Definition config.c:60
const char * ap_server_root
Definition config.c:61
apr_pool_t * ap_pglobal
Definition config.c:63
int ap_config_generation
Definition core.c:151
int ap_document_root_check
Definition core.c:137
int ap_main_state
Definition core.c:149
apr_array_header_t * ap_server_pre_read_config
Definition config.c:65
apr_array_header_t * ap_server_config_defines
Definition config.c:67
const char * ap_runtime_dir
Definition core.c:147
int ap_run_mode
Definition core.c:150
apr_array_header_t * ap_server_post_read_config
Definition config.c:66
server_rec * ap_server_conf
Definition config.c:62
int ap_signal_server(int *, apr_pool_t *)
Definition mpm_unix.c:784
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)
const char int apr_pool_t * pool
Definition apr_cstr.h:84
int int status
HTTP Daemon routines.
A structure to store information for each virtual server.
Definition httpd.h:1322