httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@telebusiness.co.nz>
Subject Re: [PATCH] new_connection -> ap_new_connection name change
Date Mon, 19 Jan 1998 09:33:48 GMT
Dean Gaudet wrote:

> Could STANDALONE_MAIN be changed to #include another .c file?  I really
> hate not being able to stick static on things that are of file scope.

actually, when I first started to integrate the DCE-Web stuff withapache,
this is what I did.  But, I'd never seen a real program that
#include'd a .c file, so I figured it was considered bad practice or
something.  But, that was just a guess.  So, if it's okay with you,
it's okay with me.-Doug

> Dean
>
> On Sun, 18 Jan 1998, Doug MacEachern wrote:
>
> > Rodent of Unusual Size wrote:
> >
> > > Rasmus Lerdorf wrote:
> > > >
> > > > Ok, how about just making it static then?  If it will never be used
> > > > outside of that file that should take care of it.
> > >
> > > If it's never used anywhere else then that's definitely the
> > > preferred solution to my mind.  +1 - but I can't verify the
> > > source at this moment.
> >
> > Please don't!!!  The DCE module (discussed a while back, which uses dce
> > rpc, not tcp, sfio, etc.), calls new_connection() in it's
> > -DSTANDALONE_MAIN function.  Rename is little trouble, but static'izing
> > new_connection() would be a nightmare.  I vote for httpd_new_connection,
> > or something like that.
> >
> > -Doug
> >
> >




Mime
View raw message