]> git.pld-linux.org Git - packages/apache1-mod_xslt.git/blob - apache1-mod_xslt-module.patch
- update config dir macro
[packages/apache1-mod_xslt.git] / apache1-mod_xslt-module.patch
1 --- modxslt/mod_xslt.c.orig     Fri Sep 13 17:24:24 2002
2 +++ modxslt/mod_xslt.c  Fri Sep 13 17:24:05 2002
3 @@ -57,7 +57,7 @@
4      int debug;
5  } mod_xslt_cfg;
6  
7 -module MODULE_VAR_EXPORT mod_xslt_module;
8 +module MODULE_VAR_EXPORT xslt_module;
9  
10  const char *mod_xslt_dyndoc_cmd(cmd_parms *cmd, void *m, int flag);
11  const char *mod_xslt_dynss_cmd(cmd_parms *cmd, void *m, int flag);
12 @@ -205,7 +205,7 @@
13  
14      void *theproc;
15      mod_xslt_cfg *cfg = (mod_xslt_cfg*) 
16 -       ap_get_module_config(r->per_dir_config, &mod_xslt_module);
17 +       ap_get_module_config(r->per_dir_config, &xslt_module);
18      se = SablotCreateProcessor (&theproc);
19      if (cfg->debug)
20        se |= SablotRegHandler(theproc, HLR_MESSAGE, &sablotMH, (void*)r);
21 @@ -246,7 +246,7 @@
22    int cnt1;
23    request_rec * subr = NULL;
24    mod_xslt_cfg *cfg = (mod_xslt_cfg*) 
25 -       ap_get_module_config(r->per_dir_config, &mod_xslt_module);
26 +       ap_get_module_config(r->per_dir_config, &xslt_module);
27  
28  
29    /* Setup some common strings of text, for file not found, etc. */
30 @@ -455,7 +455,7 @@
31  };
32  
33  /* Dispatch list for API hooks */
34 -module MODULE_VAR_EXPORT mod_xslt_module = {
35 +module MODULE_VAR_EXPORT xslt_module = {
36      STANDARD_MODULE_STUFF, 
37      mod_xslt_init,                  /* module initializer                  */
38      mod_xslt_create_dir_cfg,    /* create per-dir    config structures */
This page took 0.133187 seconds and 3 git commands to generate.