You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Paul Querna <ch...@force-elite.com> on 2008/04/13 08:21:29 UTC

Public APIs in Modules

Ruediger Pluem wrote:
.....
> Once I move mod_request.h from includes to modules/filters it all works
> fine (after make extraclean; buildconf of course). The reason is that the
> generator for exports.c picks up the symbols from mod_request.h which
> is IMHO wrong as it is not statically compiled into httpd (BTW: Public
> functions from other modules like mod_cache or mod_proxy do not show up
> in exports.c).

^^ this.

Any public function for an optional module MUST be declared as an 
optional function using the APR Optional function stuff.

If you don't do this, you create order dependencies for loading modules, 
which is a massive pain for our users.

-Paul