mod_rewrite.h revision 842ae4bd224140319ae7feec1872b93dfd491143
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard/* Licensed to the Apache Software Foundation (ASF) under one or more
19d8729755d7f4d9503029a628dacbbdabcd2264wrowe * contributor license agreements. See the NOTICE file distributed with
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * this work for additional information regarding copyright ownership.
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * The ASF licenses this file to You under the Apache License, Version 2.0
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * (the "License"); you may not use this file except in compliance with
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * the License. You may obtain a copy of the License at
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard *
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * http://www.apache.org/licenses/LICENSE-2.0
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard *
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * Unless required by applicable law or agreed to in writing, software
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * distributed under the License is distributed on an "AS IS" BASIS,
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * See the License for the specific language governing permissions and
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * limitations under the License.
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard */
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard/**
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * @file mod_rewrite.h
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * @brief Rewrite Extension module for Apache
5a4b3207b395b426c5a9066f4afea8d3fa8c6660stoddard *
5a4b3207b395b426c5a9066f4afea8d3fa8c6660stoddard * @defgroup MOD_REWRITE mod_rewrite
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * @ingroup APACHE_MODS
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard * @{
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard */
19d8729755d7f4d9503029a628dacbbdabcd2264wrowe
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard#ifndef MOD_REWRITE_H
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard#define MOD_REWRITE_H 1
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard#include "apr_optional.h"
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard#include "httpd.h"
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard/* rewrite map function prototype */
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddardtypedef char *(rewrite_mapfunc_t)(request_rec *r, char *key);
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard/* optional function declaration */
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddardAPR_DECLARE_OPTIONAL_FN(void, ap_register_rewrite_mapfunc,
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard (char *name, rewrite_mapfunc_t *func));
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard#endif /* MOD_REWRITE_H */
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard/** @} */
dfbbb9854bd1c9b10d3e53cfe0e736d2be844841stoddard