#include "httpd.h"
#include "http_config.h"
#include "http_log.h"
#include "apr.h"
#include "apr_strings.h"
#include "apr_hash.h"
Go to the source code of this file.
|
| static apr_array_header_t * | get_arguments (apr_pool_t *pool, const char *line) |
| |
| static void | warn_if_non_blank (const char *what, char *ptr, ap_configfile_t *cfg) |
| |
| static char * | get_lines_till_end_token (apr_pool_t *pool, ap_configfile_t *config_file, const char *end_token, const char *begin_token, const char *where, apr_array_header_t **plines) |
| |
| static int | looks_like_an_argument (const char *word) |
| |
| static const char * | check_macro_arguments (apr_pool_t *pool, const ap_macro_t *macro) |
| |
| static void | check_macro_use_arguments (const char *where, const apr_array_header_t *array) |
| |
| static int | number_of_escapes (const char delim, const char *str) |
| |
| static char * | substitute (char *buf, const int bufsize, const char *name, const char *replacement, const int do_esc) |
| |
| static char * | next_substitution (const char *buf, const apr_array_header_t *args, int *whichone) |
| |
| static const char * | substitute_macro_args (char *buf, int bufsize, const ap_macro_t *macro, const apr_array_header_t *replacements, apr_array_header_t *used) |
| |
| static const char * | process_content (apr_pool_t *pool, const ap_macro_t *macro, const apr_array_header_t *replacements, apr_array_header_t *used, apr_array_header_t **result) |
| |
| static const char * | check_macro_contents (apr_pool_t *pool, const ap_macro_t *macro) |
| |
| static int | next_one (array_contents_t *ml) |
| |
| static apr_status_t | array_getch (char *ch, void *param) |
| |
| static apr_status_t | array_getstr (void *buf, size_t bufsize, void *param) |
| |
| static apr_status_t | array_close (void *param) |
| |
| static ap_configfile_t * | make_array_config (apr_pool_t *pool, apr_array_header_t *contents, const char *where, ap_configfile_t *cfg, ap_configfile_t **upper) |
| |
| static const char * | macro_section (cmd_parms *cmd, void *dummy, const char *arg) |
| |
| static const char * | use_macro (cmd_parms *cmd, void *dummy, const char *arg) |
| |
| static const char * | undef_macro (cmd_parms *cmd, void *dummy, const char *arg) |
| |
◆ ARG_CONTENT
Value: "abcdefghijklmnopqrstuvwxyz" \
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
Definition at line 214 of file mod_macro.c.
◆ ARG_PREFIX
◆ BEGIN_MACRO
◆ debug
◆ DELIM
◆ empty_string_p
| #define empty_string_p |
( |
|
p | ) |
(!(p) || *(p) == '\0') |
◆ END_MACRO
◆ ESCAPE
◆ ESCAPE_ARG
◆ trim
| #define trim |
( |
|
line | ) |
while (*(line) == ' ' || *(line) == '\t') (line)++ |
◆ UNDEF_MACRO
| #define UNDEF_MACRO "UndefMacro" |
◆ USE_MACRO
◆ array_close()
◆ array_getch()
◆ array_getstr()
◆ check_macro_arguments()
◆ check_macro_contents()
◆ check_macro_use_arguments()
◆ get_arguments()
◆ get_lines_till_end_token()
◆ looks_like_an_argument()
◆ macro_section()
◆ make_array_config()
◆ next_one()
◆ next_substitution()
◆ number_of_escapes()
◆ process_content()
◆ substitute()
◆ substitute_macro_args()
◆ undef_macro()
◆ use_macro()
◆ warn_if_non_blank()
◆ ap_macros
◆ aplog_module_index
| int* const aplog_module_index = &( macro_module.module_index) |
|
static |
◆ macro_cmds
Initial value:= {
{
"UndefMacro" ,
undef_macro ,
NULL , 256 | ( 1 | 2 | 4 | 8 | 16 ) ,
TAKE1,
"Remove a macro definition." },
}
static const char * use_macro(cmd_parms *cmd, void *dummy, const char *arg)
static const char * macro_section(cmd_parms *cmd, void *dummy, const char *arg)
static const char * undef_macro(cmd_parms *cmd, void *dummy, const char *arg)
Definition at line 921 of file mod_macro.c.