httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfcl...@gmail.com>
Subject Re: svn commit: r573264 - /httpd/httpd/trunk/include/scoreboard.h
Date Mon, 10 Sep 2007 10:00:52 GMT
Jim Jagielski wrote:
> Ruediger Pluem wrote:
>>
>> Because it was
>>
>> int ap_proxy_lb_workers(void);
>>
>> and not
>>
>> PROXY_DECLARE(int)ap_proxy_lb_workers(void);
>>
> 
> Yep. Ideally, of course, a design like mod_ssl with the
> ssl_private.h usage is nice, because there you can
> expose functions that need to be shared amoung files
> (without each one having lines and lines of 'extern foo'
> sillyness) without "leaking" them out anyplace
> else.
> 

For example what about adding:
static APR_OPTIONAL_FN_TYPE(ap_proxy_lb_worker_size) *proxy_lb_worker_size;
and use a void * in scoreboard and an int for the size?

Cheers

Jean-Frederic


Mime
View raw message