Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 20285
Collapse All | Expand All

(-)src/mod-xslt.c.bak (-2 / +10 lines)
Lines 94-100 Link Here
94
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
94
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
95
*/
95
*/
96
96
97
#include "mod-xslt.h"
97
#include "mod_xslt.h"
98
#include "logging.h"
98
#include "logging.h"
99
#include "xsltools.h"
99
#include "xsltools.h"
100
#include "urltools.h"
100
#include "urltools.h"
Lines 112-118 Link Here
112
#include "apr_lib.h"
112
#include "apr_lib.h"
113
#include "apr_uri.h"
113
#include "apr_uri.h"
114
114
115
#include <libxml/uri.h>
115
#include <libxml2/libxml/uri.h>
116
#include <libxslt/xslt.h>
116
#include <libxslt/xslt.h>
117
#include <libxslt/xsltInternals.h>
117
#include <libxslt/xsltInternals.h>
118
#include <libxslt/transform.h>
118
#include <libxslt/transform.h>
Lines 359-365 Link Here
359
359
360
}
360
}
361
361
362
static int xslt_init_handler(apr_pool_t *p, apr_pool_t *plog,
363
                                apr_pool_t *ptemp, server_rec *s)
364
{
365
    ap_add_version_component(p, "mod_xslt/1.0.0rc1");
366
    return OK;
367
}
368
362
static void xslt_register_hooks(apr_pool_t *p) {
369
static void xslt_register_hooks(apr_pool_t *p) {
370
	ap_hook_post_config(xslt_init_handler, NULL, NULL, APR_HOOK_MIDDLE);
363
	ap_hook_child_init(xslt_child_init, NULL, NULL, APR_HOOK_MIDDLE);
371
	ap_hook_child_init(xslt_child_init, NULL, NULL, APR_HOOK_MIDDLE);
364
#ifdef OLD_APACHE_FILTER_API
372
#ifdef OLD_APACHE_FILTER_API
365
	ap_register_output_filter("mod-xslt", xslt_filter, AP_FTYPE_RESOURCE);
373
	ap_register_output_filter("mod-xslt", xslt_filter, AP_FTYPE_RESOURCE);
(-)src/mod-xslt.h.bak (-1 / +1 lines)
Lines 56-62 Link Here
56
#include "apr_hash.h"
56
#include "apr_hash.h"
57
#include "apr_lib.h"
57
#include "apr_lib.h"
58
58
59
#include <libxml/parser.h>
59
#include <libxml2/libxml/parser.h>
60
#include <libxslt/xslt.h>
60
#include <libxslt/xslt.h>
61
61
62
#ifndef XSL_LINENUMBERSDEFAULT
62
#ifndef XSL_LINENUMBERSDEFAULT

Return to bug 20285