httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: a request re: "struct pool *pool"
Date Mon, 20 Jan 1997 18:30:23 GMT

Hi,

I'll forward your mail to the developers list. If it takes anyone's
fancy they'll talk to you directly.

regards,
rob

On Mon, 20 Jan 1997, Paul Barton-Davis wrote:

> Thanks for a great server and an excellent API.
> 
> I have a request. I'm working on a module for apache that involves
> linking with some code compiled by a C++ compiler. I've had to fix a
> lot of miscellaneous stuff in Apache's header files relating primarily
> to the declaration:
> 
> 	struct pool *pool;
> 
> which C++ does not allow.  My solution has mostly been something like
> this:
> 
> 	- change "struct pool" to "struct __pool"
> 	- add a typedef "struct __pool pool" which avoids
> 		changing virtually any of the apache code 
> 	- add a typedef "struct __pool POOL" which is used in
> 		headers where a structure component is
> 		named "pool".
> 
> There have also been other minor changes, almost all involving adding
> function declarations to header files and/or prototypes for function
> pointers. 
> 
> I have all this stuff under CVS control, and would be happy to provide
> diffs to 1.2b4. I know its not a bug to use the above declaration, but
> the change doesn't affect functionality, and makes it possible to
> compile C++ code that needs apache headers. IMHO, the changes could
> all be justified even without this requirement.
> 
> If you have any interest in these diffs, please let me know.
> 
> --thanks again for Apache
> --paul barton-davis
> 
> 
> 
> 

--
Rob Hartill.       Internet Movie Database Ltd.    http://www.imdb.com/  


Mime
View raw message