Apache HTTPD
http_vhost.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_VHOST_H
27#define APACHE_HTTP_VHOST_H
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
38
46
53const char *ap_parse_vhost_addrs(apr_pool_t *p, const char *hostname, server_rec *s);
54
62 void *dummy,
63 const char *arg);
64
74
87 void* baton);
88
94
101
113
114
126
127#ifdef __cplusplus
128}
129#endif
130
131#endif /* !APACHE_HTTP_VHOST_H */
#define AP_DECLARE_NONSTD(type)
Definition ap_config.h:77
const char * hostname
request_rec * r
const char apr_port_t port
Definition http_vhost.h:125
ap_vhost_iterate_conn_cb func_cb
Definition http_vhost.h:86
AP_DECLARE(void) ap_init_vhost_config(apr_pool_t *p)
ap_vhost_iterate_conn_cb void * baton
Definition http_vhost.h:87
void * dummy
Definition http_vhost.h:62
server_rec * main_server
Definition http_vhost.h:45
int(* ap_vhost_iterate_conn_cb)(void *baton, conn_rec *conn, server_rec *s)
Definition http_vhost.h:73
const char * host
Definition http_vhost.h:124
void const char * arg
Definition http_vhost.h:63
const char * ap_parse_vhost_addrs(apr_pool_t *p, const char *hostname, server_rec *s)
Definition vhost.c:242
int require_match
Definition http_vhost.h:112
apr_uint16_t apr_port_t
const char * s
Definition apr_strings.h:95
apr_cmdtype_e cmd
apr_pool_t * p
Definition md_event.c:32
Structure to store things which are per connection.
Definition httpd.h:1152
A structure that represents the current request.
Definition httpd.h:845
A structure to store information for each virtual server.
Definition httpd.h:1322
int ap_matches_request_vhost(request_rec *r, const char *host, apr_port_t port)
Definition vhost.c:953
void ap_fini_vhost_config(apr_pool_t *p, server_rec *main_s)
Definition vhost.c:573
void ap_init_vhost_config(apr_pool_t *p)
Definition vhost.c:133
int ap_vhost_iterate_given_conn(conn_rec *conn, ap_vhost_iterate_conn_cb func_cb, void *baton)
Definition vhost.c:1229
int ap_update_vhost_from_headers_ex(request_rec *r, int require_match)
Definition vhost.c:1173
void ap_update_vhost_given_ip(conn_rec *conn)
Definition vhost.c:1280
void ap_update_vhost_from_headers(request_rec *r)
Definition vhost.c:1168
const char * ap_set_name_virtual_host(cmd_parms *cmd, void *dummy, const char *arg)
Definition vhost.c:270
typedef int(WSAAPI *apr_winapi_fpt_WSAPoll)(IN OUT LPWSAPOLLFD fdArray