Apache HTTPD
proxy_util.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
17#ifndef PROXY_UTIL_H_
18#define PROXY_UTIL_H_
19
33
37
42
43/*
44 * interpolate an env str in a configuration string
45 *
46 * @param r current request
47 * @param str the string to interpolcate
48 * @return the interpolated string
49 */
51 const char *str);
52
53/*
54 * Canonicalize the URL in r->filename
55 * @param r current request
56 * @return OK or an HTTP_XXX error
57 */
59
62#endif /* PROXY_UTIL_H_ */
request_rec * r
PROXY_DECLARE_DATA const apr_strmatch_pattern * ap_proxy_strmatch_path
Definition proxy_util.c:73
PROXY_DECLARE_DATA const apr_strmatch_pattern * ap_proxy_strmatch_domain
Definition proxy_util.c:74
apr_pool_t * p
Definition proxy_util.h:29
PROXY_DECLARE_DATA int proxy_lb_workers
Definition proxy_util.c:71
void proxy_util_register_hooks(apr_pool_t *p)
const char * str
Definition proxy_util.h:51
#define PROXY_DECLARE_DATA
Definition mod_proxy.h:606
#define PROXY_DECLARE(type)
Definition mod_proxy.h:604
apr_size_t size
int ap_proxy_is_domainname(struct dirconn_entry *This, apr_pool_t *p)
Definition proxy_util.c:675
int ap_proxy_is_ipaddr(struct dirconn_entry *This, apr_pool_t *p)
Definition proxy_util.c:466
int ap_proxy_is_word(struct dirconn_entry *This, apr_pool_t *p)
Definition proxy_util.c:802
const char * ap_proxy_interpolate(request_rec *r, const char *str)
int ap_proxy_canon_url(request_rec *r)
int ap_proxy_is_hostname(struct dirconn_entry *This, apr_pool_t *p)
Definition proxy_util.c:736
Definition mod_proxy.h:142
A structure that represents the current request.
Definition httpd.h:845