httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dean gaudet <>
Subject Re: ap_ vs apr_
Date Thu, 27 Jul 2000 03:06:54 GMT
heh.  this topic again.

one *might* argue that these problems are caused by attempting to link
everything with everything... rather than by naming problems :)

it's too bad the almighty benchmark kills off the use of IPC to achieve


On Wed, 26 Jul 2000, Doug MacEachern wrote:

> i know this debate happened long ago, and it's probably too late to pipe
> up.  but, i'm working on a package that uses libapr standalone (outside of
> httpd), as a 2.0 module and as a 1.3 module.  1.3 is rather painful, since
> the pool structures are different between 1.3 and 2.0, but many function
> names are the same in libapr and httpd (e.g. ap_pstrcat).  to work around
> this problem i have to generate an apr_prefix.h file to redefine ap_* to
> apr_* and #include that in apr.h.  once everything is renamed with an apr_
> prefix things are golden, standalone, inside 2.0 and inside 1.3.
> i can see libapr being used for lots of things outside of the server, i
> just wish i could use it inside 1.3 without having hacking it.
> if anybody wants to reconsider, i'm +1 on using the apr_ prefix for all
> libapr functions.

View raw message