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

Reply via email to