httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Expression Parser API?
Date Mon, 26 Nov 2007 14:18:09 GMT
mod_include has an expression parser (parse_expr at line 1125
in /trunk/).  Many other modules implement simpler parsers for
a range of purposes.

It seems to me we could potentially benefit from a general-
purpose expression parser, and I'm wondering about extracting
mod_include's parse_expr as ap_parse_expr, maybe in util.c.
The job looks like mostly one of removing the include_ctx
and substituting request_rec, or maybe even pool and a void*.

Does that make sense?  Thoughts?

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message