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