httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <>
Subject Re: includes for DSO completeness
Date Tue, 03 Aug 1999 20:30:42 GMT
>> Really?  That's odd -- I've always preferred modules to be modular.
>The problem with that approach is that you then have to hunt down
>the fact that ap_validate_password is defined in ap_checkpass.h,
>and then include it.

Egrep. The advantage is that, if some other utility only wants to
use a specific function, they don't have to compile in most of Apache.

>If you're suggesting that ap_checkpass.c's exports be defined in
>ap_checkpass.h, and ap.h just #includes ap_checkpass.h.. then I'm
>+1 on that.
>Is that what you mean?

Yep.  And each .h is wrapped in defines so that it can be #included
as many times as you like.


View raw message