Article View: news.software.nntp
Article #38319Re: News server architecture (was: Submitting to Freenix)
From: Russ Allbery
Date: Mon, 28 Jun 1999 00:00
Date: Mon, 28 Jun 1999 00:00
22 lines
1272 bytes
1272 bytes
T William Wells <bill@twwells.com> writes:
> Aidan Cully <aidan@panix.com> wrote:
>> Agreed.. If we can avoid just a whole bunch of functions with the
>> basic structure
>> if (innconf->varname) {
>> first_api();
>> } else {
>> second_api();
>> }
> Function pointers.....
I believe the functions took different arguments, which was why we had all
that ugliness before. The API didn't cleanly handle both interfaces.
It's a correctable mistake.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<ylr9mwqq2m.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<7g24e7$ckh$1@info.cs.uofs.edu> <yl6lnd5uv4g.fsf@intrepid.ecn.ou.edu> <ylaetljfxu.fsf@windlord.stanford.edu> <7l7829$cvh$1@news.panix.com> <7l85m4$2b5k$1@twwells.com>Show Full Headers
Complete Article Headers
Message-ID: <ylr9mwqq2m.fsf@windlord.stanford.edu> Subject: Re: News server architecture (was: Submitting to Freenix) Date: Mon, 28 Jun 1999 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <7g24e7$ckh$1@info.cs.uofs.edu> <yl6lnd5uv4g.fsf@intrepid.ecn.ou.edu> <ylaetljfxu.fsf@windlord.stanford.edu> <7l7829$cvh$1@news.panix.com> <7l85m4$2b5k$1@twwells.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 494814283 Distribution: inet Organization: The Eyrie Newsgroups: news.software.nntp