4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin/* Licensed to the Apache Software Foundation (ASF) under one or more
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * contributor license agreements. See the NOTICE file distributed with
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * this work for additional information regarding copyright ownership.
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * The ASF licenses this file to You under the Apache License, Version 2.0
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * (the "License"); you may not use this file except in compliance with
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * the License. You may obtain a copy of the License at
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin *
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * http://www.apache.org/licenses/LICENSE-2.0
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin *
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * Unless required by applicable law or agreed to in writing, software
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * distributed under the License is distributed on an "AS IS" BASIS,
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * See the License for the specific language governing permissions and
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * limitations under the License.
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin */
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin#ifndef PROXY_UTIL_H_
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin#define PROXY_UTIL_H_
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin/**
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * @file proxy_util.h
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * @brief Internal interfaces private to mod_proxy.
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin *
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * @defgroup MOD_PROXY_PRIVATE Private
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * @ingroup MOD_PROXY
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * @{
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin */
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin
8c69d8fdde8db830bfbfbb1b381f6e54d20b71d9minfrinPROXY_DECLARE(int) ap_proxy_is_ipaddr(struct dirconn_entry *This, apr_pool_t *p);
8c69d8fdde8db830bfbfbb1b381f6e54d20b71d9minfrinPROXY_DECLARE(int) ap_proxy_is_domainname(struct dirconn_entry *This, apr_pool_t *p);
8c69d8fdde8db830bfbfbb1b381f6e54d20b71d9minfrinPROXY_DECLARE(int) ap_proxy_is_hostname(struct dirconn_entry *This, apr_pool_t *p);
8c69d8fdde8db830bfbfbb1b381f6e54d20b71d9minfrinPROXY_DECLARE(int) ap_proxy_is_word(struct dirconn_entry *This, apr_pool_t *p);
8c69d8fdde8db830bfbfbb1b381f6e54d20b71d9minfrin
ed6608b05c17ad82dd9391739af837256bdffb42fuankgPROXY_DECLARE_DATA extern int proxy_lb_workers;
ed6608b05c17ad82dd9391739af837256bdffb42fuankgPROXY_DECLARE_DATA extern const apr_strmatch_pattern *ap_proxy_strmatch_path;
ed6608b05c17ad82dd9391739af837256bdffb42fuankgPROXY_DECLARE_DATA extern const apr_strmatch_pattern *ap_proxy_strmatch_domain;
3a34ab5010a01b252aabb50b5b7a77469a4e45efminfrin
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin/**
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin * Register optional functions declared within proxy_util.c.
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin */
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrinvoid proxy_util_register_hooks(apr_pool_t *p);
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin/** @} */
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin#endif /* PROXY_UTIL_H_ */