#include "httpd.h"
#include "http_config.h"
#include "http_core.h"
#include "http_log.h"
#include "apr_general.h"
#include "apr_strings.h"
#include "apr_strmatch.h"
#include "apr_lib.h"
#include "util_filter.h"
#include "util_varbuf.h"
#include "apr_buckets.h"
#include "http_request.h"
#include "apr_want.h"
Go to the source code of this file.
|
| static void * | create_substitute_dcfg (apr_pool_t *p, char *d) |
| |
| static void * | merge_substitute_dcfg (apr_pool_t *p, void *basev, void *overv) |
| |
| static apr_status_t | do_pattmatch (ap_filter_t *f, apr_bucket *inb, apr_bucket_brigade *mybb, apr_pool_t *pool) |
| |
| static apr_status_t | substitute_filter (ap_filter_t *f, apr_bucket_brigade *bb) |
| |
| static const char * | set_pattern (cmd_parms *cmd, void *cfg, const char *line) |
| |
| static const char * | set_max_line_length (cmd_parms *cmd, void *cfg, const char *arg) |
| |
| static void | register_hooks (apr_pool_t *pool) |
| |
◆ AP_MAX_BUCKETS
◆ AP_SUBST_MAX_LINE_LENGTH
| #define AP_SUBST_MAX_LINE_LENGTH (1024*1024) |
◆ APR_WANT_STRFUNC
◆ CAP2LINEMAX
◆ GBYTE
◆ KBYTE
◆ MBYTE
◆ PROTO_FLAGS
◆ SEDRMPATBCKT
Value:
} while (0)
#define APR_BUCKET_NEXT(e)
apr_seek_where_t apr_off_t * offset
Definition at line 117 of file mod_substitute.c.
◆ subst_pattern_t
◆ create_substitute_dcfg()
◆ do_pattmatch()
◆ merge_substitute_dcfg()
| static void * merge_substitute_dcfg |
( |
apr_pool_t * |
p, |
|
|
void * |
basev, |
|
|
void * |
overv |
|
) |
| |
|
static |
◆ register_hooks()
◆ set_max_line_length()
◆ set_pattern()
< Don't implicitely add AP_REG_DEFAULT options
use a case-insensitive match
Definition at line 609 of file mod_substitute.c.
◆ substitute_filter()
◆ aplog_module_index
| int* const aplog_module_index = &( substitute_module.module_index) |
|
static |
◆ substitute_cmds
Initial value:= {
{
"Substitute" ,
set_pattern ,
NULL , 4 ,
TAKE1,
"Pattern to filter the response content (s/foo/bar/[inf])" },
{
"SubstituteInheritBefore" ,
ap_set_flag_slot , (
void *)((
long) (((
char *) (&(((
subst_dir_conf * )
NULL)-> inherit_before ))) - ((
char *)
NULL))) , 4 ,
FLAG,
"Apply inherited patterns before those of the current context" },
}
const char * ap_set_flag_slot(cmd_parms *cmd, void *struct_ptr, int arg)
static const char * set_pattern(cmd_parms *cmd, void *cfg, const char *line)
static const char * set_max_line_length(cmd_parms *cmd, void *cfg, const char *arg)
Definition at line 747 of file mod_substitute.c.
◆ substitute_filter_name
| const char substitute_filter_name[] = "SUBSTITUTE" |
|
static |